Error Can't Connect To Local MySQL Server Through Socket Why How Fix Solve



Error Can't Connect To Local MySQL Server Through Socket Why How Fix Solve
Error Can't Connect To Local MySQL Server Through Socket Why How Fix Solve
Post Description:
Post Tags: error, cant, connect, to, local, mysql, server, through, socket, why, how, fix, solve
This Post Has Been Viewed 584 Times Since Mon Nov 06, 2006 10:52 pm Posted By bigger_travis with 0 replies
Next Post »» I get the error 'Illegal mix of collations', what should I do?
Error Can't Connect To Local MySQL Server Through Socket Why How Fix Solve
the other day i was getting this error message and i wondered why do I get a MySQL "Can't connect to local MySQL server through socket" error?

Answer: This indicates that PHP cannot communicate with your MySQL server. Check to make sure that MySQL is running, and verify that it's actually on the server where you think it is. If MySQL is running on your local system try using the IP address for your host (which should be 127.0.0.1) instead of "localhost" for your database and see if that fixes the problem. For other diagnostics you can try, take a look at http://dev.mysql.com/doc/refman/5.0/en/can-not-connect-to-server.html

Another problem you might have is that you may have your credentials incorrect. check to make sure you have the username, password, database correct. A customer of mine, changed his password and forgot to change in his configuration file and that's whay he was getting this error.

Leave Your Comments     [ dejar commentarios ]
  * Name     [nombre]

  * eMail (will not be published)     [coreo electronico]

* Enter Your Reply or Comments:    [commentarios]


Add Picture To Comments         [incluir foto]
YES NO             upload
Receive Replies on my Comments (An email will be sent to you when someone replies to your comments)

     

Comments and replies About Error Can't Connect To Local MySQL Server Through Socket Why How Fix Solve




(0) Comments