Anonymous | Login | Signup for a new account | 12-17-2024 08:41 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0002144 | [Quercus] | major | always | 11-05-07 22:07 | 11-06-07 08:45 | ||||
Reporter | koreth | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product 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. |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed. 26 unique queries executed. |