Call us today 253-891-9648 or Toll-Free: (866) 932-9778
Follow Notable Web on Facebook

Support Topics

Contact Information

Phone:

Local:(253) 891-9648
Toll Free: (866) 932-9778

Fax:Contact Notable Web Today
    (253) 891-9412

Mailing Address:
    P.O. Box 7762
    Bonney Lake, WA
    98391

NOTABLE WEB - Support Center

Support Home Page » cPanel Administration » How to connect to the MySQL database

How to connect to the MySQL database

Configuration Settings:

Host = localhost (really, put localhost)
Database name = (cpanelusername_databasename)
Database username = (cpanelusername_databaseusername)
Database password = (******)

Note: When you move databases to our servers, the database name and username may change. This change must be updated in your script code. (The database name and username is clearly displayed in cPanel, in the MySQL area.)

On shared servers, the database user name cannot be changed to something without the cPanel user name in it.

It is possible for someone to use their cPanel username and password to connect to the database. However, we NEVER recommend doing this because the first time you change or reset your cPanel password, then your databases will stop working.


How to connect to the MySQL server remotely

Note: If connecting from your home computer, you need a MySQL client like Navicat, phpMyAdmin, or Dreamweaver.

Configuration Settings:

Host = (use the server IP address)
Database name = (cpanelusername_databasename)
Database username = (cpanelusername_databaseuser)
Database password = (******)
MySQL Connection Port = 3306
TCP or UDP, either is fine.

Before you can connect:

Our firewall blocks port 3306, so please submit an email to support@notableweb.com requesting that we open port 3306 for your IP address to be able to connect to MySQL remotely.

Also, before you can connect to MySQL from another computer, you must enable your computer as an Access Host. It may sound confusing, but cPanel makes this very simple.

  1. When using X3, login to cPanel and click the Remote MySQL icon, under Databases.
  2. Type in the connecting IP address, and click the Add Host button.
  3. All done, try connecting remotely.

-or-

  1. When using X, login to cPanel and click the MySQL Databases icon, under Databases.
  2. Scroll all the way to the bottom and type in the connecting IP address where it says "Host (% wildcard is allowed):", and click the Add Host button.
  3. All done, try connecting remotely.

How can I find out my computers IP address?

Simple, just go to www.whatismyipaddress.com.

Wait a minute, my IP constantly changes.

Okay, you have a dynamic IP address. Therefore, every time you go online, or every once in awhile, your IP changes. You have a few options here. The most secure, would be to update your IP in Remote MySQL every time your IP changes. However, you do have other options available. You could simply enter % (a percentage sign) in the Add Access Hosts text field. This will allow any IP to remotely connect to your databases. Another option: Lets say the first two parts of your IP never change. Then, you could enter 93.138.%.% , where the first two parts are your actual IP address numbers.


IMPORTANT UPDATE ! Since the 11.25 update, we've noticed a bug where you add an IP to the MySQL remote access list, only to find that the corresponding MySQL user that is created does not have any privileges.

In order to get the correct privileges added, you must go back to your MySQL Databases section in cPanel and re-add the user to each database (reassign the privileges). No need to remove the user first; just select the user and the database from the drop-downs and click "Add".

We've notified cPanel about the issue.




Web Site Hosting

Web Site HostingWe know exactly what it takes to make a business successful on the Internet.

Our web hosting plans are very diverse and designed for almost any type of website or e-commerce solution. Notable Web has combined the best hardware, latest software and the ...
Read More!

Web Site Design

Website DesignThe team at Notable Web strives to create websites that are easy to navigate by both human visitors and by various search engine spiders. The clean slicing and coding we use provides the fastest possible page loads. Our websites are extremely versatile and allow maximum flexability for updates. ..
Read More!

Domain Name Registration

Domain Name RegistrationA domain name is the alias that identifies a certain organizations' presence on the Internet. For example, Microsoft uses the Internet address http://www.microsoft.com.

The choice, which you make for your personal or business domain name ...
Read More!

Notable Web Incorporated © 1996 - 2018. All Rights Reserved.