I created a database called: shivamam_FreeWizard101Codes
I also made a user called: shivamam_fw101c
I also interconnected them, and gave the user all permissions
The following script worked at my last host, so why doesn't it work here?
$mysql_host = "localhost";
$mysql_username = "shivamam_fw101c";
$mysql_password = "password";
$mysql_database = "shivamam_FreeWizard101Codes";
mysql_select_db($mysql_database, mysql_connect($mysql_host, $mysql_username, $mysql_password));
I get the following error:
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 113
I don't understand what the problem is. All i changed was the My Sql info. This worked perfectly at my last host, so why not here?