19.1. General Previous topic Parent topic Child topic Next topic

Whenever Perl's DBI module is used to work with a database, you need to supply up to 3 pieces of information in order to specify the database to which you want to connect:
  • DBSource
    This is the data source name. It has the special format: “dbi:drivername:options”, where driver name is the name of the DBI driver to use, and options is an option string whose exact format depends on the DBI driver you are using.
  • DBUsername
    This is usually the SQL user name to use to connect to the SQL database, but for some database types, it has a different meaning.
  • DBAuth
    This is usually the password for DBUsername, but for some database types, it has a different meaning or is not required.