Failed To Connect To Database
Hi Guys,
I have 2 VPS, one has cPanel/WHM installed which is where my script is at. The other VPS has DirectAdmin installed which is where my SQL database is held. I have setup everything and placed the IP of the DirectAdmin VPS and entered the correct login information for the cPanel VPS to login to the MySQL Database on the DirectAdmin VPS.
How ever i keep getting this error:
Quote:
Error msg: Unable to connect to the database. Please make sure the database information specified in admin/includes/config.php are correct.
What tests can i do in SSH to see if the cPanel VPS can connect and login to the MySQL Database that way and if not how do i find out why its not allowing access? I can ping the DirectAdmin VPS in SSH when connected to the cPanel VPS.
The reason i am having the MySQL database on the DirectAdmin VPS is because thats all the VPS will be used for (SQL Server and because DirectAdmin doesnt use as much resources compared to cPanel/WHM).
Any help would be great.
Thanks