danny_12345 Posted April 10, 2009 Share Posted April 10, 2009 Hi, I need to connect my database with my website, im getting this message Warning: mysql_connect() [function.mysql-connect]: Lost connection to MySQL server at 'reading initial communication packet', system error: 113 in /home/crystaltec/public_html/includes/functions/database.php on line 19 Unable to connect to database server! mySQL version 5.0.22 im using phpmyadmin ver2.0 please can you tell me what i should be doing.. Quote Link to comment https://forums.phpfreaks.com/topic/153568-need-help-with-mysql/ Share on other sites More sharing options...
jackpf Posted April 11, 2009 Share Posted April 11, 2009 After a quick google I've found that this error appears to occur when the connection times out, or if there's a misconfiguration. What kind of setup do you run? Quote Link to comment https://forums.phpfreaks.com/topic/153568-need-help-with-mysql/#findComment-806951 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.