dimensionav
asked on
How to connect to a mySQL database in a remote (web hosted) server ?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
It may be a firewall issue.
ASKER
I have tried from a localhost with php (from the same IP) and I got this error:
Warning: mysql_connect() [function.mysql-connect]: Host 'MY IP' is not allowed to connect to this MySQL server in C:\AppServ\www\MYSITE\conn db.php on line 19
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\AppServ\www\MYSITE\conn db.php on line 21
Error: Host ''MY IP' is not allowed to connect to this MySQL server
Perhaps I should check that with my hosting provider.
Regards.
Warning: mysql_connect() [function.mysql-connect]: Host 'MY IP' is not allowed to connect to this MySQL server in C:\AppServ\www\MYSITE\conn
Warning: mysql_select_db(): supplied argument is not a valid MySQL-Link resource in C:\AppServ\www\MYSITE\conn
Error: Host ''MY IP' is not allowed to connect to this MySQL server
Perhaps I should check that with my hosting provider.
Regards.
>Perhaps I should check that with my hosting provider.
Yes
Yes
ASKER