Local server aku pakai XAMPP v. 5.5.19, sehingga fungsi yang awalnya :
mysql_connect($hostLH,$userLH,$passLH)
mysql_select_db($dbLH)
Kita ganti menjadi:
mysqli_connect($hostLH,$userLH,$passLH,$dbLH) or die("Connection Fail ".mysql_error());
Silahkan dicoba, semoga berhasil.....
cara ini juga berhasil untuk CMS lain yang muncul pesan error yang sama.
Thanks to http://stackoverflow.com/questions/21797118/deprecated-mysql-connect for the helpfull information