(Urgent) Can't connect to MySQL database

I have recently migrated my MySQL database to a different box from the install of XenForo. My firewall rules are all configured and I can connect to the database from the box with XenForo installed. However, my XenForo is still trying to connect to the local MySQL.

I have changed the config.php to the new IP address of the server, yet in my error log it suggests that it is trying to connect to the local MySQL.

Code:
PHP Fatal error:  Uncaught XF\\Db\\Exception: Access denied for user 'root'@'***.**.**.152' (using password: YES)
 

Chris D

XenForo developer
Staff member
That generally indicates that the wrong username or password has been given, or the user provided doesn't have access to the database that has been provided.

Certainly the firewall rules seem to be working because this message is going directly from MySQL itself.
 
Top