golatificon Posted March 29, 2014 Posted March 29, 2014 hello, i have problem with website: Database error:Can't connect to local MySQL server through '/var/lib/mysql/mysql.sock' (2) ....(path to database connection) i get this often but not alwayssearched the web didnt find solution, every1 talks about local host,i have 2 databases where 1 privileged user(at phpmyadmin) is connecting it at same , maybe thats the problem? Quote
thakurbhai Posted March 29, 2014 Posted March 29, 2014 In my opinion, it should not be a problem related with privileges, as it should give Access error in that case. It could be a case, when the mysql service is down. Quote
wolstech Posted March 29, 2014 Posted March 29, 2014 Yep. That error is the database server being down. You dot mention what server you're on, but if its Stevie, the error is likely due to the broken MySQL server. Stevie's MySQL tends to give that error a lot ever since the crash. Quote
golatificon Posted March 30, 2014 Author Posted March 30, 2014 yeah im at steave, so its not up to me .., ok, tnx everyone edit: just got: "Warning: mysql_connect() [function.mysql-connect]: Too many connections in /path to connection do database/Too many connections " and i was the only one at site Quote
wolstech Posted March 30, 2014 Posted March 30, 2014 Im pretty sure the max number of connections is limited for the server, not your account. When the limit is reached, everything that tries to connect sees that error until something disconnects and makes room. I see it quite a bit too in my apps. Quote
paladox2014 Posted March 30, 2014 Posted March 30, 2014 but could they increase the limited a tiny bit Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.