I am wanting to do a Remote MySQL with 2 servers, server 1 holding the database & server 2 holding the website & images etc.
Now they both run on cPanel, both with the same server build.
Now as far as I know the last part of the config which I currently have as this;
<?php
define('DB_SERVER', '185.52.24.69');
define('DB_USERNAME', '***');
define('DB_PASSWORD', '****');
define('DB_DATABASE', '***');
What do I put for the dbserver, obviously when I first installed it, the server was on localhost but now it must be changed, I have tried the direct url, IP, IP with 3306 at the end. None work.
I am getting this error; Unable to connect to database. A database error occurred while processing this request.
Has anyone done something like this who could advise me on the next step of problem solving? Thanks Ross