Knowledge Base Article

I have problems setting up the mysql database for my application

If you have problems setting up the mysql database for your application please make sure that:

  • Your application is using the correct mysql hostname: localhost
  • Your application is using the correct mysql database / username / password. Make sure you have followed this tutorial for creating them;
  • Don't forget to specify your mysql username and database with the prefix yourusername_ in front of its given name. For example your CPanel username is siteground and you have named your database joomla. In this case you have to refer to your database as siteground_joomla;
  • Your application is connecting to TCP port 3306.

You can also check cPanel's video tutorial for additional information:

http://www.cpanel.net/media/tutorials/addmysql.htm


______________

Find expert web hosting services at SiteGround.com: secure web servers, cPanel, Fantastico, PHP, MySQL, FTP, web hosting tutorials, and more.


Rating

Please indicate if this article was helpful for you.

rating :  1.8 from 5
views :  790
votes :  16

Valid XHTML 1.0 Strict Valid CSS!