Mysql is deprecated

Replaced mysql_* with mysqli_*.
See http://www.php.net/manual/en/function.mysql-connect.php