Skip to content

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

  1. 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.
  2. 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.
  3. The user has permission on the database.
  4. The database is not full and you have not reached your plan's limits.
  5. 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.

Please rate this article to help us improve our Knowledge Base.

0 0