Dedicated Server Forum

The Hivelocity Dedicated Server Discussion Forum is a place for Hivelocity clients to meet and chat about all things server. From server promotions to server issues, our technical staff, sales, billing, management and Upper management will be actively involved in these discussions. No question is too big or small, no topic is too stupid to be discussed here. We want all of our clients to feel like this is their home away from home on the net.


 
 
In order to get support you will need to enter your registration details:
 
Please enter your search criteria:
 
 

Dedicated Server Forums by Hivelocity Award winning Dedicated Server hosting > Dedicated Server Control Panels for Windows and Linux > cPanel / Web Host Manager Dedicated Hosting Forum » How to access your database remotely on a cPanel hosting


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 08-03-2009, 12:34 PM
Administrator
 
Join Date: Jul 2009
Posts: 578
Default How to access your database remotely on a cPanel hosting

How to access your database remotely on a cPanel hostingFirst of all, it
is important to explain how the database/database user names are
formed. The names consist two parts ? your cPanel username and the
actual database/username name. For example ? if your username is ?user?
and if you named your database ?databasename? you should use:

user_databasename

Same for database username:

user_username

So, if
you would like to access your database remotely you should add your IP
to remote hosts list firs. This could be done via you cPanel ->
MySQL database. You will see on the bottom of your page Access Hosts
section.
*
You can see your IP at http://www.whatismyip.com. If you have
dynamic IP address you can add % instead which will allow connections
from every IP.
To add a group of servers or an IP range you can use:
%.domain.com or 192.168.1.% for example.
As soon as you have your IP added you can access your database using the following information:
MySQL host: your doamin name or the server hostname/IP address
MySQL port: 3306*( 99% chance to be 3306)
MySQL database: *user_databasename
MySQL name: user_databaseuser
MySQL password: the password for the database applied for the user.
If you do not know the user and
the password for your database you can always add a new one. This could
be done via your cPanel -> MySQL database. Simply create a new user
under the Current Users section and add it to the desired database with
all privileges.
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -5. The time now is 03:53 AM.