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

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Making API calls from hashed passwords 26 52
How to import sql database into mysql workbench 18 34
php convert date format 3 21
paypal ipn url 5 54
As a database administrator, you may need to audit your table(s) to determine whether the data types are optimal for your real-world data needs.  This Article is intended to be a resource for such a task. Preface The other day, I was involved …
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 count occurrences of each item in an array.
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.

785 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