cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
New

can't connect to mysql server through socket /var/lib/mysql/mysql.sock

unsure if this is correct location.

i have created a php site and it works fine on desktop/laptops but on my iphone/android i get this error

can't connect to mysql server through socket /var/lib/mysql/mysql.sock

how can i correct this so it runs from mobile browsers.

 

thanks

lee

2 REPLIES 2
Helper III

Re: can't connect to mysql server through socket /var/lib/mysql/mysql.sock

hello @pugs,
i am sorry for thr issues you are facing, however; the mysql server conflicts your facing has nothing to do with the platform you are accessing your domain.

its probably your contiguration can you share your my.cnf file.
please note that, i offer direct support that is in no way associated with GoDaddy's regular support channels; but, for immediate technical support you can contact me at: https://join.skype.com/t3cxhmNCspqu
New

Re: can't connect to mysql server through socket /var/lib/mysql/mysql.sock

i saw if i changed my connection from localhost to 127.0.0.1 it would fix it and it did. it was wierd because it was working for a long time then out of nowhere i got this error.