Knowledge Base
I'm getting connection errors when adding a database
Overview
By the end of this article you will understand why connection errors occur when you add a database to CodeGuard and how to resolve them. The sections below explain the most common cause, how to allow (whitelist) CodeGuard's IP addresses on your host, and where to find provider-specific guidance.
Why the error happens
The most common cause of errors when adding a database to CodeGuard is that CodeGuard's servers are not able to connect to your database host. For security, your hosting provider or database host may block all external connections.
How to fix it: allow CodeGuard's IP addresses
In most cases you can specify a list of allowed hosts, a process called whitelisting. You must complete whitelisting before you add your database to CodeGuard.
For the exact addresses to add, see the Whitelisting CodeGuard's IP Addresses article: Whitelist MySQL IPs | Sectigo® Official, or watch the whitelisting walkthrough video Whitelisting CodeGuard's IP Addresses | Sectigo® Official.
Provider-specific steps
The exact process varies between hosting providers, so you may need to consult your provider's support documentation for more specific instructions.
Need assistance?
Contact our team for help with your purchase or issuing your certificate.