Content
If you want to connect to your database from an application or a script on your XonHost 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.