Jump to content

Whats on line 32 ?


deanotune

Recommended Posts

Everything was working fine half an hour ago Now I cant log in ...keep getting

 

Warning: mysqli::mysqli() [mysqli.mysqli]: (HY000/2002): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/*****/public_html/classes/db/mysqli.class.php on line 30

 

Fatal error: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) in /home/ ****** /public_html/classes/db/mysqli.class.php on line 32

 

I have added the stars to edit the address ...

Link to comment
Share on other sites

Cheers for that. Had to go out and was all working when I got back. (Insert BIG sigh of relief here)

 

Thanks again for your troubles and reply. I for one (and I am sure everyone else is the same ) really do appreciate your prompt and helpful replies.

 

This is what makes CC so great.

Link to comment
Share on other sites

or the MySQL server has crashed.

This seems the most likely cause if it started happening by itself and then fixed itself as well - you should check with your hosting company as this sort of thing should just never happen. An upgrade / restart of MySQL will cause this service to be down for a very brief moment of time but MySQL copes with this and would not cause this type of issue so the problem was much bigger. It can be indicative of an overloaded hosting server where MySQL is running out of memory and is crashing

Ian

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...