Buying Setup remote mysql connection

Discussion in 'Programming' started by bunbunx2, Mar 18, 2011.

  1. #1
    Hi , i got a wordpress database which want to be share with another server of another ip. so instead of using localhost for the wp config, i use the server ip.

    I setup mysql additional host on my whm with the remote server ip but still cant establish connection.

    Payment : $15 usd
    Paypal

    Sorry but i cant let u go in my whm or root.
     
    bunbunx2, Mar 18, 2011 IP
  2. domainsurfer

    domainsurfer Well-Known Member

    Messages:
    922
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    110
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #2
    you will need to enable mysql external connections on the ip on which your database exists.

    This can be done in my.cnf file on your mysql server. u will need to comment the skip-networking line and change bind-address to your external IP address.
    U will also need to grant privileges to external users by executing the grant privileges query.
     
    domainsurfer, Mar 18, 2011 IP
  3. dotarcadia

    dotarcadia Member

    Messages:
    31
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    41
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #3
    domainsurfer is correct, just enabling remote connection to mysql ( where your wp database exists ) and granting user privileges, you can make the work done!!
     
    dotarcadia, Mar 18, 2011 IP
  4. bunbunx2

    bunbunx2 Peon

    Messages:
    613
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #4
    I already add to mysql access host but its not working.
     
    bunbunx2, Mar 18, 2011 IP
  5. bunbunx2

    bunbunx2 Peon

    Messages:
    613
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    As Seller:
    100% - 0
    As Buyer:
    100% - 0
    #5
    JOB done by bertram.
     
    bunbunx2, Mar 18, 2011 IP