How can I configure remote access for mysql?

This guide will help you configure your server to allow remote connections to your mySQL database. This guide is intended for server with the Plesk Control Panel installed.

If you are with Managed Hosting, please login to https://serverportal.com/ and submit an A la Carte' work order. To maintain security, please ensure you include the exact address you wish to grant access to, as wide open grant all IP access permissions are not permitted.

Getting Started:

Log into your Plesk Control panel by browsing to https://:8443 . You can log in using the username 'admin' and the password that was emailed to you when your dedicated server was setup.

Once logged in, click on 'Domains' on the left side of the control panel.

Choose the domain that the database will be associated with.

Click on 'Databases', located under the 'Services' heading

If you have not created a database yet, click on 'Add New Database' to create a database. If you already have a database listed or if you've just created a new database, simply click on the database listed below.

Now you'll need to click on 'Add New Database user', this is the user account that you will be remotely logging into the mySQL server with. You will need to remember the username and password that you set here.

Now that the user has been added, we simply need to open the mySQL port (3306) in the firewall and restrict it to allow access only to your home/office computer. To do this, just click on 'Modules' on the left side of the Plesk Control Panel.

Next, Click on 'Firewall'.

You are now looking at the firewall options for you server. First you should click on 'Edit Firewall Configurations'.

Now find the entry labeled 'MySQL server' and click on the text.

This is where you can edit the rules for port 3306, the default mySQL port. Choose the 'Allow from selected sources, deny from others' option.

A text box will appear below, go ahead and enter your local static IP address in this box and then click 'add'.

You can now access your mySQL database from a remote location.This article has been provided by Codero Hosting, the leading provider of reliable dedicated, managed and cloud hosting services. Need more information on this topic or to learn more about Codero’s hosting services please visit www.codero.com, chat with us online or give us a call at 866-2-CODERO.