owenb
11-14-2009, 12:48 AM
Hi. I am just starting to look at Quercus using Resin 3.1.9
With a simple php app that uses the old school mysql_connect($h,$u,$p) form, I get the following exception:
java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO) [mysql_error] Couldn't connect to the MySQL server at 10.0.4.204
It does seem to be passing the host (which is the ip address in question) correctly, but it is not passing the username and password. Is that supported? The documentation indicates that it is, but most of the examples use PDO.
Thanks!
With a simple php app that uses the old school mysql_connect($h,$u,$p) form, I get the following exception:
java.sql.SQLException: Access denied for user ''@'localhost' (using password: NO) [mysql_error] Couldn't connect to the MySQL server at 10.0.4.204
It does seem to be passing the host (which is the ip address in question) correctly, but it is not passing the username and password. Is that supported? The documentation indicates that it is, but most of the examples use PDO.
Thanks!