in reply to Re^2: how to test a connection with mysql db
in thread how to test a connection with mysql db
The "\%attr" parameter can be used to alter the default settings of "PrintError", "RaiseError", "Auto Commit", and other attributes. For example: $dbh = DBI->connect($data_source, $user, $pass, { PrintError => 0, AutoCommit => 0 });
Update: Fixed bogus entity; added 'perldoc'.
|
|---|