What is my MySQL Server Hostname?

If you want to connect to your database from an application or a script on your SiteGround hosting account, you can simply use localhost as MySQL hostname.

If you're accessing your database from a remote server, you need to grant it access first following the instructions in our Remote MySQL tutorial and then use your domain name as hostname.

cPanel is easy to work with when you have the right host to support you. If you need a reliable partner to help you manage your website with cPanel, check out our cPanel hosting services!