Open Side Menu Go to the Top
Register
Could not connect to MySQL Could not connect to MySQL

03-25-2016 , 02:07 PM
I am getting this MySQL error while trying to access the site and and even while trying to log into administrator.

Database Error: Unable to connect to the database:Could not connect to MySQL

I have tried refreshing and accessing it a dozen times.

Can somebody please help me to restart MySQL?
Could not connect to MySQL Quote
03-25-2016 , 08:25 PM
what OS?
Could not connect to MySQL Quote
03-25-2016 , 09:00 PM
Dude use www.stackoverflow.com for your questions. Don't even bother googling. Straight to SF if the docs don't help.
Could not connect to MySQL Quote
03-25-2016 , 09:38 PM
Using SO or not, the question, as asked, isn't very helpful.

What OS?

How are you attempting to connect to MySQL? Is this via phpMyAdmin, the command line, or is it via something like WordPress?

Is MySQL started at all, or are you getting errors at start?

Is this attempt on a local or remote machine?

If it is on a host, what hosting provider are you using?

etc.
Could not connect to MySQL Quote
03-29-2016 , 10:08 AM
Hi;

You can start/stop the mysql service on the server by logging into the server as root from the command line interface and run the following command/s.

service mysql stop
service mysql start
service mysql restart

You can also use the following if the above does not work fine.
Fix Toolbox for MySQL
https://www.fixtoolbox.com/repairtoolformysql.html
Could not connect to MySQL Quote

      
m