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
615 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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.
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…
The viewer will learn how to look for a specific file type in a local or remote server directory using PHP.
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…

730 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