Questions?

(877) 393-HOST (4678)
Live Chat
Knowledge Base

How To Connect To MySQL

In order to connect to a MySQL database on the server, you will need to use the Host Name or Location assigned to your hosting account. You can find the Host Name or Location assigned to your hosting account in the Account Manager. Please log into the Account Manager and click on the MySQL Manager tool under the Website Settings section. You will see the Host Name listed under the section 'Connecting from php or perl:' and also under the section 'MySQL Workbench that runs on your computer:'. You must use your assigned Host Name in all scripts if you want to successfully connect to the MySQL server. Please note that Localhost, mysql.guardedhost.com, or mysql.yourdomain.extension WILL NOT WORK.