Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Where do I find host name for connecting with remote client

Discussion in 'Database Discussions' started by rsims, Jun 15, 2017.

  1. rsims

    rsims Registered

    Joined:
    Jun 15, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austin, Texas
    cPanel Access Level:
    Root Administrator
    I need a host name or IP address for connecting to the MySQL database from an application like MySQL Workbench.
     
  2. Eminds

    Eminds Well-Known Member

    Joined:
    Nov 10, 2016
    Messages:
    211
    Likes Received:
    13
    Trophy Points:
    18
    Location:
    India
    cPanel Access Level:
    Root Administrator
    if the database is hosted on the same server where the application is hosted use the hostname as localhost , if the database is hosted different server ask the server owner or provider for the hostname
     
  3. rsims

    rsims Registered

    Joined:
    Jun 15, 2017
    Messages:
    2
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Austin, Texas
    cPanel Access Level:
    Root Administrator
    I am the new web developer and using cPanel for the first time. I want to use a REMOTE CLIENT to access the MySql database hosted on the same server which our cPanel is configured to administrate.

    Where, in cPanel, is the host name or IP for connecting to the MySql Database which cPanel is set up to configure.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    38,658
    Likes Received:
    1,425
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello,

    You can use any domain name that points to the cPanel server (e.g. yourdomain.tld). If you want to find out which IP address your domain name resolves to, then you can use a website such as IntoDNS.com, enter your domain name, and scroll to the bottom to see what "A" record is utilized.

    Also, note that MySQL runs on port 3306 by default, and you need to authorize the remote host that's making the connection to MySQL using the following option in cPanel:

    Remote MySQL - Documentation - cPanel Documentation

    Thank you.
     
Loading...

Share This Page