Solved

Database error: cannot connect to Database Lost connection to MySQL server at 'reading initial communication packet', system error: 113

Posted on 2009-05-12
3
613 Views
Last Modified: 2013-12-12
Error message when php script is trying to connect to a mysql server from another domain. Works from testserver at home, error on productionserver. Did work until recently - can not see what has been changed and do not know where to look...
0
Comment
Question by:astrup
3 Comments
 
LVL 10

Accepted Solution

by:
bob_the_builder earned 500 total points
ID: 24370012
0
 
LVL 6

Expert Comment

by:mmarth
ID: 24370742
make certain the server is not 'localhost' and that you have permissions set for access from remote site
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating and Managing Databases with phpMyAdmin in cPanel.
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Learn how to match and substitute tagged data using PHP regular expressions. Demonstrated on Windows 7, but also applies to other operating systems. Demonstrated technique applies to PHP (all versions) and Firefox, but very similar techniques will w…
The viewer will learn how to count occurrences of each item in an array.

860 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question