How to connect Remote MySQL database in connection string?

You can access the remote MySQL database if a remote MySQL server (where your database is hosted) is configured to accept remote MySQL connections.

You need to use the following configuration settings to connect the database.

Hostname ==  Server IP address
Database name ==  MySQL database name
Database username == MySQL database username
Database password = Password for database user
MySQL Connection Port == 3306

Check out the following website for reference connection strings.

http://www.connectionstrings.com/mysql/

Note: We don't offer Remote MySQL on our Linux Shared Hosting Service.

Related Articles

Where do I upload my files/folders in Shared Hosting plans?

All the files associated with your website must be placed inside the root folder of your domain....

How do I create SRV record for my domain?

This article will assist you to add an SRV record to your domain. Services Resource Record (SRV)...

Default Files and Folders in cPanel Account

While we create new account in cPanel, you may find following default files and folders:...

What is the URL to access my web based control panel?

For Linux users, the cPanel URL is www.<yourdomainname.com>:2083.For Windows users, the...

Why am I Unable to Access Website, cPanel and Webmail?

It may have happened because of multiple failed login attempts. In order to prevent brute force...

  • 0 Users Found This Useful

Was this answer helpful?