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.

Setup MySQL Remote server

Discussion in 'General Discussion' started by gabidavila, Jun 9, 2010.

  1. gabidavila

    gabidavila Registered

    Joined:
    Jun 9, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    Hi guys, I already read a little about, I still didnt get to work this.

    Currently I need to use localhost to acces my database.

    So, how can I make mysql.mydomain.com connect on my database?

    Tks
     
  2. linux7802

    linux7802 Well-Known Member

    Joined:
    Dec 14, 2007
    Messages:
    232
    Likes Received:
    1
    Trophy Points:
    18
    cPanel Access Level:
    Root Administrator
    If you are trying to connect database hosted on your domain hosted server then you have to use localhost as mysql host / server and if you want to use database hosted on another server then use another servers ip as mysql host / server in your database connection string file.
     
  3. ChrisRHS

    ChrisRHS Well-Known Member

    Joined:
    Jul 12, 2006
    Messages:
    292
    Likes Received:
    5
    Trophy Points:
    18
    Are you trying to setup a remote server, or, just trying to get mysql.yourdomain.tld to connect?
     
Loading...

Share This Page