Mantis Bugtracker

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/ [^]
  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

- Relationships

- Notes
11-06-07 08:45

new snapshot available with the fix

- Issue History
Date Modified Username Field Change
11-05-07 22:07 koreth New Issue
11-06-07 08:45 ferg Note Added: 0002451
11-06-07 08:45 ferg Assigned To  => ferg
11-06-07 08:45 ferg Status new => closed
11-06-07 08:45 ferg Resolution open => fixed
11-06-07 08:45 ferg Fixed in Version  => 3.1.4

Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
29 total queries executed.
26 unique queries executed.
Powered by Mantis Bugtracker