A


DBI Environment Variables

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().

Table H.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 The definitive guide to using, programming, and administering MySQL 4. 1 and 5. 0
Mysql: the Definitive Guide to Using, Programming, and Administering Mysql 4.1 and 5.0
ISBN: B003A1PKHY
EAN: N/A
Year: 2004
Pages: 190
Authors: Paul Dubois

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