Results 1 to 4 of 4
  1. #1
    Join Date
    Apr 2016
    Posts
    1

    Unanswered: Could not connect to MySQL

    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?

  2. #2
    Join Date
    Apr 2016
    Posts
    2

  3. #3
    Join Date
    Apr 2016
    Posts
    2

    m2yfw


  4. #4
    Join Date
    Jun 2011
    Posts
    31
    Provided Answers: 1
    Hi Malone,

    You can start/stop the mysql service on the server by following command/s.

    service mysql stop
    service mysql start
    service mysql restart

    If the above doesn’t work then, use the following:

    /etc/init.d/mysql start
    /etc/init.d/mysql stop

    Good Luck!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •