How to Fix CodeGuard Access Denied MySQL Error 1045
If you are encountering the "CodeGuard Access Denied - MySQL Error 1045" issue, it typically means that CodeGuard cannot connect to your database due to incorrect credentials or restricted access. To resolve this, follow these steps to safelist CodeGuard's IP addresses in your cPanel:
Step 1: Log in to Thexyz
- Visit Thexyz login page.
- Enter your account credentials and click Login.
Step 2: Access Your cPanel
- Click on Services from the top menu.
- Locate the cPanel hosting service associated with your website.
- Click on the Login to cPanel button.
Step 3: Safelist CodeGuard’s IPs in Remote Database Access
- In cPanel, locate the Databases section.
- Click on Remote MySQL.
- In the "Add Access Host" section, enter the following IP addresses one by one and click Add Host after each:
54.236.233.28
54.174.91.34
54.236.233.46
54.174.115.171
54.174.153.212
- Once all IPs have been added, confirm that they are listed under "Access Hosts".
Step 4: Verify Database Credentials in CodeGuard
- Log in to your CodeGuard dashboard.
- Navigate to your database settings.
- Ensure the correct MySQL hostname, database name, username, and password are entered.
- Save the changes and test the connection.
Step 5: Retry the Connection
- In CodeGuard, reattempt the database connection.
- If the issue persists, double-check the credentials and retry the process.
By following these steps, you should be able to resolve the CodeGuard Access Denied MySQL Error 1045 and ensure seamless backups of your website database.