in reply to DBI mysql connection broke suddenly
According to the documentation:
"The $data_source value must begin with "dbi:driver_name:". The driver_name specifies the driver that will be used to make the connection. (Letter case is significant.)"
'shop_gal' does not conform with that specification.
Here is the line of code from part of our database code:
return DBI->connect("DBD:mysql:database=$db:host=localhost:3306", $Sit +e::Variables::env_db_user, $Site::Variables::env_db_pass);
|
|---|