Jump to content

after upgraded cubecart to 6.15 ,I got too many error,


Recommended Posts

First,Our all customer can't pay the order,also can't login with the email,If you want use the  Forgotten your password?  retrieved the password,Always failed
When you login shop or modify some information,You always got follows error,

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

Warning: mysqli_options(): Couldn't fetch mysqli in /home/tool/public_html/mall/classes/db/mysqli.class.php on line 35

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

Please contact me and help us.

Also,I prefer to pay for this and help us correct all the error,It's very urgent!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

Link to comment
Share on other sites

Not being able to connect to the MySQL is a major hosting related issue and can often mean that your server is overloaded.  If MySQL isn't working properly, then many / most things in your store will not work so that needs sorting first. Are you sure that your database settings are correct in the global.inc.php file ?

Ian

Link to comment
Share on other sites

12 hours ago, havenswift-hosting said:

Not being able to connect to the MySQL is a major hosting related issue and can often mean that your server is overloaded.  If MySQL isn't working properly, then many / most things in your store will not work so that needs sorting first. Are you sure that your database settings are correct in the global.inc.php file ?

Ian

Hello Ian,

How to check the setting are correct in the global.inc.php file?

Please explain again.

Thanks a lot.

 

Link to comment
Share on other sites

You MUST contact your hosting provider and confirm how your applications communicate with the database server.

Be sure to mention '/var/lib/mysql/mysql.sock' and they will either confirm or deny its use. They will confirm the means of how your applications should be communicating with the database server.

Link to comment
Share on other sites

22 minutes ago, bsmither said:

You MUST contact your hosting provider and confirm how your applications communicate with the database server.

Be sure to mention '/var/lib/mysql/mysql.sock' and they will either confirm or deny its use. They will confirm the means of how your applications should be communicating with the database server.

thanks a lot.I will do

 

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