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