Mantis - Quercus
Viewing Issue Advanced Details
2905 major always 09-04-08 12:10 09-04-08 13:21
koreth  
nam  
normal  
closed 3.2.1  
fixed  
none    
none 3.2.1  
0002905: Username and password not used when connection pooling turned off
When I use the new <connection-pool>false</connection-pool> setting in my WEB-INF/resin-web.xml file, my PHP code is unable to connect to MySQL:

[12:09:14.200] {http--8080-7} ProEnv[] A link to the server could not be established.
[12:09:14.200] {http--8080-7} url=jdbc:mysql://10.8.3.101:3306/?interactiveClient=true&characterEncoding=ISO8859_1 [^]
[12:09:14.200] {http--8080-7} driver=com.mysql.jdbc.Driver
[12:09:14.200] {http--8080-7} java.sql.SQLException: Access denied for user ''@'10.1.207.165' (using password: NO)

Looks like the username and password are ignored in this case. If I turn connection pooling back on, the connections are successful.

Notes
(0003383)
nam   
09-04-08 13:21   
php/2024