Hallo.
I really need help on an error I am getting when trying to connect to our mail server from a PHP3 script on our web server.
The message I get is as follows: MySQL Connection Failed: Host ''www.hardrive.co.za' is not allowed to connect to this MySQL server.
All permissions have been granted to the user trying to connect to the mail server. So I believe this can not be a major problem.
My connection code looks as follows:
$db_con2 = mysql_connect("mail.hardrive.co.za", "username", "password");
mysql_select_db($db_name2,$db_con2);
I believe my code is correct.
Can anyone help me or has anyone dealt with this before.
I really need help on an error I am getting when trying to connect to our mail server from a PHP3 script on our web server.
The message I get is as follows: MySQL Connection Failed: Host ''www.hardrive.co.za' is not allowed to connect to this MySQL server.
All permissions have been granted to the user trying to connect to the mail server. So I believe this can not be a major problem.
My connection code looks as follows:
$db_con2 = mysql_connect("mail.hardrive.co.za", "username", "password");
mysql_select_db($db_name2,$db_con2);
I believe my code is correct.
Can anyone help me or has anyone dealt with this before.