Knowledge Base

Get Expert Website Hosting

Choose website reliability and expertise with SiteGround!

Home / Database Support / MySQL Error Troubleshooting / I have problems setting up the MySQL database for my application

I have problems setting up the MySQL database for my application

Last update: Aug 13, 2025

If you have problems setting up the MySQL database for your application, make sure that:

  • Your application is using the correct mysql hostname: localhost
  • Your application is using the correct mysql database / username / password. Check this tutorial on how to create them;
  • Your application is connecting to TCP port 3306.

Share this article