connecting to remote mysql server

Discussion in 'Linux VPS/Dedicated - cPanel' started by thinkel6, Jun 1, 2012.

  1. thinkel6

    thinkel6 New Member

    Good Morning,

    I have been trying to do this for awhile. I want to host my wordpress sites on my knownhost vps and connect to my database on another host. I should be able to do this but so far I keep getting connection errors.

    I ran a test this morning from hostgator to my remote database and it worked fine so I know the connect string works properly.

    Any thoughts,
    Tim
     
  2. Dan

    Dan Moderator

    Hi thinkel6,

    Are you running CSF on your VPS? This sounds like it could be a firewall issue where you would need to open the ports to allow the connection.
     
  3. townwebsites

    townwebsites New Member

    Remote MySQL

    Did you open the VPS IP address on the host where MySQL is hosted? If the DB is on another CPanel host, there should be a CPanel option , forget what it is called, but it specifies remote ips to allow to connect to that panel's databases.

    Charlie

     

Share This Page