Knowledge Base
Troubleshooting database connection errors
Errors such as "Error establishing a database connection" mean your site cannot reach its database.
Check these in order
- The database name, username and password in your site's configuration file (for WordPress,
wp-config.php) match what you created, see Creating a database for your website. - The host is correct. On web hosting this is usually
localhost. For a Zettako Panel database it is the host shown in the panel, see Connecting to your database. - The user has permission on the database.
- The database is not full and you have not reached your plan's limits.
- Special characters in the password. Try a password with only letters and numbers to rule this out.
For a database on the Zettako Panel, see Troubleshooting database connections.