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

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.




Helper III

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:

i saw if i changed my connection from localhost to 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.