DBI Environment Variables

DBI consults several environment variables, listed in Table G.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().

Table G.4. DBI Environment Variables
Name Meaning
DBI_DRIVER DBD-level driver name ("mysql" for MySQL)
DBI_DSN Data source name
DBI_PASS Password
DBI_TRACE Trace level and/or trace output file
DBI_USER Username



MySQL
High Performance MySQL: Optimization, Backups, Replication, and More
ISBN: 0596101716
EAN: 2147483647
Year: 2003
Pages: 188

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net