Can anyone help me with this, it's driving me nuts
We have a MySQL database running on a Cpanel box which is allowing remote connections. Tested from multiple machines and it works fine.
Then we have a 2nd Linux server with no cpanel that needs to connect to this server via a php page.
The error the php page shows is this
Could not connect to mysql
MySQL Error: Can't connect to MySQL server on 'awebsite' (13)
MySQL ErrorNo: 2003
Yet, if we run the test code like this php /var/www/html/mysql_test.php it works
Anyone?
__________________
Andy Booth
Naglotech Ltd Webhosting, Colocation, Consultancy
Cybernetic-Servers Game Servers, Dedicated Servers
Company No : 5326296
AS35327