I am trying to connect to the database on my server (Website A) via another website hosted elsewhere (Website B).
Using the following on Website B.
$servername = "IP ADDRESS OF Website A";
$username = "";
$password = "";
$dbname = "";
$conn = new mysqli($servername, $username, $password, $dbname );
All the information is correct but still not allowing me to connect.
In the CyberPanel backend I have added the ‘Website B IP Address’
Am I missing a step?
Thanks
Adam