Questions about MySQL on unmanaged VPS

Discussion in 'Databases' started by ZharkD, Jul 29, 2011.

  1. #1
    Hi guys, I've bought a VPS unmanaged, this means I don't have cPanel/WHM.

    I've some issues with MySQL, I cannot give me own access to login remotely (ussing apps like navicat, and others) and administrate my databases. In addition, I cannot install scripts as WordPress due the connection cannot be established.

    Could someone help me?


    Regards!
     
    ZharkD, Jul 29, 2011 IP
  2. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #2
    You need to give privileges to your MySQL user to connect remotely.
     
    mwasif, Aug 6, 2011 IP
  3. Cucumba123

    Cucumba123 Well-Known Member

    Messages:
    1,403
    Likes Received:
    34
    Best Answers:
    3
    Trophy Points:
    150
    #3
    Cucumba123, Aug 6, 2011 IP
  4. PHP Junior

    PHP Junior Peon

    Messages:
    47
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    PHP Junior, Aug 6, 2011 IP
  5. Cucumba123

    Cucumba123 Well-Known Member

    Messages:
    1,403
    Likes Received:
    34
    Best Answers:
    3
    Trophy Points:
    150
    #5
    I thought he meant the software is not installed yet because he ordered an unmanaged service.
     
    Cucumba123, Aug 6, 2011 IP
  6. ZharkD

    ZharkD Peon

    Messages:
    202
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #6
    Yes, I don't have cPanel and I don't wanna buy it, it's a extra quote out of my budget.

    I've read about the remote connections adding the ip in some files in mysql.conf but the main issue is that my IP it's dynamic.

    Any idea?


    Regards! 
     
    ZharkD, Aug 6, 2011 IP
  7. mwasif

    mwasif Active Member

    Messages:
    816
    Likes Received:
    23
    Best Answers:
    1
    Trophy Points:
    70
    #7
    Then you can use % in GRANT command. Using % will allow anyone from any place (having password) in the world connect to your MySQL. Refer to MySQL Manual.
     
    mwasif, Aug 6, 2011 IP
  8. aerinphp

    aerinphp Peon

    Messages:
    8
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #8
    You can connect to your mysql server over ssh(or even over http i think). That would mean you wouldnt need to have a public mysql server.

    Another option would be to firewall the mysql port and only allow yourself through. Even with dinamic ip you can use something like dyndns.
     
    aerinphp, Sep 10, 2011 IP