Hello,
I have been searching all over for a fix to no avail.
I need to connect to a remote MySQL host. I have already defined the host/users/database accesses. I can telnet to my foreign host then connect to the remote database using mysql -h99.99.99.123 -uusername -p (IP address not the real one of course).
However, when I try to connect using my PHP script ($mysql_link = mysql_pconnect('99.99.99.123','username','mypassword');
$mysql_select = mysql_select_db('databasename',$mysql_link); ) I get an "Unknown Database" error.
Please help.
I have been searching all over for a fix to no avail.
I need to connect to a remote MySQL host. I have already defined the host/users/database accesses. I can telnet to my foreign host then connect to the remote database using mysql -h99.99.99.123 -uusername -p (IP address not the real one of course).
However, when I try to connect using my PHP script ($mysql_link = mysql_pconnect('99.99.99.123','username','mypassword');
$mysql_select = mysql_select_db('databasename',$mysql_link); ) I get an "Unknown Database" error.
Please help.