coogeebear
New Member
- Messages
- 2
- Reaction score
- 0
- Points
- 0
here is my connection line:
/*# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"*/
$hostname_rockstar_Connect = "chopin.x10hosting.com";
$database_rockstar_Connect = "coogee_rockstar";
$username_rockstar_Connect = "coogee_coogee";
$password_rockstar_Connect = "xxxxxxxx";
$rockstar_Connect = mysql_connect($hostname_rockstar_Connect, $username_rockstar_Connect, $password_rockstar_Connect) or trigger_error(mysql_error(),E_USER_ERROR);
here is the error i get
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/coogee/public_html/Rockstar/Connections/rockstar_Connect.php on line 9
Fatal error: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/coogee/public_html/Rockstar/Connections/rockstar_Connect.php on line 9
COULD YOU PLEASE INFORM ME WHAT I AM DOING WRONG IF ANYTHING. i REMEMBER HAVING NO PROBLEMS WHEN I UPLOADED MY LAST DATABASE AND BASICALLY I DID THE SAME FOR THIS.
/*# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"*/
$hostname_rockstar_Connect = "chopin.x10hosting.com";
$database_rockstar_Connect = "coogee_rockstar";
$username_rockstar_Connect = "coogee_coogee";
$password_rockstar_Connect = "xxxxxxxx";
$rockstar_Connect = mysql_connect($hostname_rockstar_Connect, $username_rockstar_Connect, $password_rockstar_Connect) or trigger_error(mysql_error(),E_USER_ERROR);
here is the error i get
Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/coogee/public_html/Rockstar/Connections/rockstar_Connect.php on line 9
Fatal error: Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /home/coogee/public_html/Rockstar/Connections/rockstar_Connect.php on line 9
COULD YOU PLEASE INFORM ME WHAT I AM DOING WRONG IF ANYTHING. i REMEMBER HAVING NO PROBLEMS WHEN I UPLOADED MY LAST DATABASE AND BASICALLY I DID THE SAME FOR THIS.