Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Registered User
    Join Date
    Mar 2008
    Posts
    1

    Default Remote access to MySQL database

    Hello,
    I'm looking for the URL I have to use to be able to connect to my MySQL database from my remote machine. Anyone could help please ?

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    Quote Originally Posted by Djedj31 View Post
    Hello,
    I'm looking for the URL I have to use to be able to connect to my MySQL database from my remote machine. Anyone could help please ?
    To manage a MySQL database, you typically login to the cPanel interface and use phpMyAdmin.

    However, if you are connecting to a MySQL database from a custom application, you may wish to refer to the documentation for the language/API you are using to connect to the database.

    Don't forget to add your IP address to the permitted IP addresses allowed to access your database. You can do this by clicking on the "Remote MySQL" icon in the cPanel interface.

  3. #3
    Member LiNUxG0d's Avatar
    Join Date
    Jun 2003
    Location
    Gatineau, Quebec, Canada
    Posts
    206

    Default

    Hi,

    I would follow David's advice here. If you're coding in PHP, you need to follow the PHP MySQL object specifications. Usually you do not connect via a URL, you connet to an IP address or FQDN (Fully Qualified Domain Name) on port 3306 (standard MySQL port), using the username and password you assigned to the database.

    In PHP, for example:

    http://us2.php.net/manual/en/function.mysql-connect.php

    I'm a PHP developer, so, y'know... I'm biased!

    Let me know if you need anything else.

    Regards,
    http://www.okteck.com/
    The best web hosting, reseller hosting and dedicated server packages!

Similar Threads & Tags
Similar threads

  1. not able to connect remote MySQL : Remote Database Access Hosts
    By crazyaboutlinux in forum Database Discussions
    Replies: 4
    Last Post: 10-05-2011, 03:55 PM
  2. Remote Database Access Hosts
    By laxbobber in forum Feature Requests for cPanel/WHM
    Replies: 0
    Last Post: 12-02-2010, 09:11 PM
  3. Problem with Remote Database Access Hosts
    By santrix in forum Database Discussions
    Replies: 3
    Last Post: 05-11-2010, 10:55 PM
  4. MySQL database remote access (Access Host)
    By akot2 in forum Database Discussions
    Replies: 4
    Last Post: 12-21-2006, 09:45 AM
  5. Remote Database Access
    By voxtreme-fred in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 06-19-2002, 11:30 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube