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!

Where do I find host name for connecting with remote client

Discussion in 'Database Discussion' 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:
    267
    Likes Received:
    20
    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
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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:
    43,700
    Likes Received:
    1,791
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice