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

How do I add new domain in Linux Shared Hosting plan?

You can add new domain to multiple domain Linux Shared Hosting plan through "Addon Domain"...

Can I modify the php.ini file in shared hosting?

You can’t modify php.ini file if you have purchased shared hosting service.  If you are looking...

Do you allow port scanning in any hosting plans?

No, we do not allow port scanning in any of our Web Hosting plans. Get Windows Shared Hosting

Parse HTML As PHP Using HTACCESS File

There are times wherein you are required to parse HTML web pages as PHP. Suppose, you have older...

Cpanel Email Account create Error: No specific error was returned with the failed API Call

Email account creation from Cpanel results in this error. Generally, this error is encountered...

  • 0 Users Found This Useful

Was this answer helpful?