MySQL database connection string

Categories Web HostingDatabases

To locate your MySQL database name, server name, username and password details, please follow the instructions below.

Locate database connection details on Cloud Hosting

  1. Log into your Account
  2. Manage the domain you want to make changes to
  3. Click the Database icon
  4. Locate the name of the database you want to connect to under the Database name column
    This is the name you need to use in the Database = field of your connection string
  5. The host name provided under the Database Host column is the hostname you need to use in the Server = field of your connection string
  6. To view the database username and password, click on View passwords

    Cloud hosting database details
If your domain name is not yet delegated to our name servers, the database host displayed on the Cloud Hosting Database page will not work. You will need to replace 'your-domain.tld' with 'netregistry.net'.
eg. instead of mysql-5.your-domain.tld, use mysql-5.netregistry.net

Locate database connection details on cPanel Hosting

  1. Log into your Account
  2. Manage the domain you want to make changes to
  3. Click cPanel
  4. Click on the MySQL Databases icon
  5. The database name and username will be displayed on this page
  6. If you do not remember your database password, you will need to create a new database user and add that user to your database
  7. You may use 'localhost' in the Server = field of your connection string

Rate this article