What does "Connection to Database failed" mean?

I get the message “Access denied for user [email protected]

This suggests you have something wrong with any of:

  • username
  • password
  • database name
  • database host/server
  • security settings on your database

When you created your database, did you grant the user access to the database?

Proper database-configuration includes:

  • make a database
  • make a user, with password
  • grant the user permission to use the database

See also How do I create a MySQL database for Zen Cart?

Specific steps for creating and securing a database on your server can be obtained from your hosting company tech support.




Still have questions? No problem! Just head over to the Zen Cart support forum and ask there in the appropriate subforum. In your post, please include your Zen Cart and PHP versions, and a link to your site.

Is there an error or omission on this page? Please post to General Questions on the support forum. Or, if you'd like to open a pull request, just review the guidelines and get started. You can even PR right here.
Last modified September 13, 2020 by Scott C Wilson (0271e06).