Skip to main content

Connect Error MySQL

Comments

2 comments

  • cPRex Jurassic Moderator
    Hey there! If you have root access to the machine, the first thing I would check would be to ensure the MySQL connection string still works. I like to check that on the command line by running: mysql -u username -p
    and then enter the MySQL database user's password that is stored in the wp-config file. If that works, I would expect the connection to work well. If not, you can recreate the MySQL user and database connection in cPanel >> MySQL Databases. If you don't have root access or SSH access to the machine, you will need to speak with your hosting provider or datacenter to have them help you troubleshoot this connection problem.
    0
  • timkah
    Normally this error comes up due to a DB access problem, make sure you enter the correct server address, username, and password in your PHP connection file, and also make sure your DB server firewall is not blocking the App server.
    0

Please sign in to leave a comment.