Funny Posted March 30, 2007 Posted March 30, 2007 Hi! I was adding some new products to our new installed shop as suddenly all stopped and following error appeared: Warning: mysql_connect(): Lost connection to MySQL server at 'reading initial communication packet', system error: 111 in /kunden/kansok.com/mind-forge.de/catalog/includes/functions/database.php on line 19 Unable to connect to database server! I didn't do anythink. Now it's not even possible to open the Shop online anymore. Just the same error is displayed. The file looks right. Line 19: $$link = mysql_connect($server, $username, $password); } Thas all. Sorry, if it might be a stupid question, but I#m kinda new with OSCommerce. THX Funny
ozcsys Posted March 30, 2007 Posted March 30, 2007 Sounds like a hosting issue. I would contact your hosting company and see if they can help you. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Funny Posted March 30, 2007 Author Posted March 30, 2007 I have contacted them. they told me everything should work and they said they are able to acsess the database in their administration.
ozcsys Posted March 30, 2007 Posted March 30, 2007 I have contacted them. they told me everything should work and they said they are able to acsess the database in their administration. The fact that they can access the database from their admin does not really prove much. At the least they could have looked at the error logs to see if they could find the problem. Warning: mysql_connect(): Lost connection to MySQL server at 'reading initial communication packet', system error: 111 Is not an osC error. If you do a google search you will find it quite a few times and most seem to be php sites so I would see if they have made any changes (updates) to the server recently (php, mysql, apache) You could try re-populating your database with a recent backup and if that does not help try creating and populating a new database with a recent backup and change the info in your two configure.php files with the new database info and see if that helps. The Knowledge Base is a wonderful thing. Do you have a problem? Have you checked out Common Problems? There are many very useful osC Contributions Are you having trouble with a installed contribution? Have you checked out the support thread found Here BACKUP BACKUP BACKUP!!! You did backup, right??
Recommended Posts
Archived
This topic is now archived and is closed to further replies.