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?
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.
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.
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
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.
paladox2014 Posted March 30, 2014 Posted March 30, 2014 but could they increase the limited a tiny bit
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now