At 23:36 19.05.2002, Gregory Matthews wrote: >># Initialize the database connections for each child >>Apache::DBI->connect_on_init >>("DBI:mysql:database=test;host=localhost", "user","password", >>{ PrintError => 1, # warn() on errors >>RaiseError => 0, # don't die on error >>AutoCommit => 1, # commit executes immediately } >> >>I am also using the $Apache::DBI::DEBUG = 2; flag to ensure it is working >>properly. >> >>I am NOT seeing the entries in the error_log both when Apache::DBI >>initializes a connection and when it returns one from its cache. >> >>Shouldn't I be able to see a reference to the connection in my error_log >>file? >> >>I checked both my virtual host error_log file and the server error_log >>file. Nothing in either.
When/Where are you setting this flag? I don't have much experience with Apache::DBI, so I won't be able to help you much. You could also try DBI->trace(1); #or any other level mentioned in the DBI docs. -- Per Einar Ellefsen [EMAIL PROTECTED]