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
571 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.

Join & Write a Comment

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
This article discusses four methods for overlaying images in a container on a web page
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.

707 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

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now