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
602 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

Suggested Solutions

Title # Comments Views Activity
nagios 4 php error after installation 6 76
wamp versus xampp 4 44
can windows 10 wamp send mail()? 3 34
PHP: concatenate query 12 38
Part of the Global Positioning System A geocode (https://developers.google.com/maps/documentation/geocoding/) is the major subset of a GPS coordinate (http://en.wikipedia.org/wiki/Global_Positioning_System), the other parts being the altitude and t…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
The viewer will learn how to count occurrences of each item in an array.
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…

910 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

22 Experts available now in Live!

Get 1:1 Help Now