Hi there,
I've written a PHP script which supposed to connect to a MySQL database and retrieve some information from it. Unfortunately, I noticed that on and off the script fails to connect to the database and the error message displayed is :
MySQL Connection Failed: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (111)
FYI, the script and the database is running on Portland server, therefore i use "localhost" to connect. At first, I assumed it maybe caused by more than 1 concurrent user (client) trying to access to the script, but later i realized that's not the case here.
Does anyone have any idea on this..? I'm quite to this MySQL thingy.. can anyone help me on this ?.. Thanks alot :-)
Regards, -EL Raj-