DBI consults several environment variables, listed in Table H.4. All of them except DBI_TRACE are used by the connect() method. DBI_DRIVER is used by the data_sources() method, and DBI_TRACE is used by trace().
DBD-level driver name ("mysql" for MySQL)
Data source name
Trace level and/or trace output file