How do I view my MySQL database connection string?

To locate your MySQL database name, server name, username and password details:

Locate database connection details on Cloud Hosting

  1. Log in to your Account
  2. Hover over the domain you want to make changes to and click 'Manage'
  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 View passwords

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 'partnerconsole.net', e.g. Use mysql-5.partnerconsole.net instead of mysql-5.your-domain.tld

Locate database connection details on cPanel Hosting

  1. Log in to your Account
  2. Hover over the domain you want to make changes to and click 'Manage'
  3. Click 'cPanel login'
  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
Was this article helpful?
0 out of 0 found this helpful