Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
2144 | major | always | 11-05-07 22:07 | 11-06-07 08:45 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | ferg | OS: | |||
Priority: | normal | OS Version: | |||
Status: | closed | Product Version: | 3.1.4 | ||
Product Build: | Resolution: | fixed | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | 3.1.4 | ||
|
|||||
Summary: | 0002144: mysql_connect() fails in Pro | ||||
Description: |
<?php if (mysql_connect("dbserver", "user", "password")) { print "connected"; } else { print "not connected"; } This works in the open-source Quercus/Resin (latest code from Subversion), but when I install pro.jar from the 11/05 snapshot, I get an error: /Users/sgrimm/www/html/test.php:2: Warning: A link to the server could not be established. url=jdbc:mysql://dbserver:3306/ [^] driver=com.mysql.jdbc.jdbc2.optional.MysqlConnectionPoolDataSource com.caucho.config.ConfigException: java.lang.ClassNotFoundException: jdbc:mysql://dbserver:3306/ [^] [mysql_connect] not connected In the debugger, I see that this exception is coming by way of the ProEnv class (didn't try to step through that since I don't have source.) Looks like maybe it's getting the URL and the driver class mixed up, though, judging by the exception message. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
Notes | |||||
|
|||||
|
|