# Connect to ODBC with DBI.
# DBI connect() args: "DBI:ODBC:DSN".
$dbh = DBI->connect("DBI:ODBC:BJEPSON_ACCESS");

# Connect to MySQL with DBI.
# DBI connect() args: "DBI:mysql:DATABASE_NAME", username, password
$dbh = DBI->connect("DBI:mysql:bjepson_db", "bjepson", "secret");

# Connect to MySQL with Mysql.pm.
# connect() args: undef=localhost, DATABASE_NAME, username, password
$dbh = Mysql->connect(undef, "bjepson_db", "bjepson", "secret");

# Make a connection with Win32::ODBC.
$dbh = new Win32::ODBC("DSN=BJEPSON_MSSQL;UID=bjepson;PWD=secret");

 # Connect to Oracle with DBI.
 # DBI connect() args: "DBI:Oracle:host=HOSTNAME;sid=SID", 
 # username, password
 $dbh = DBI->connect("DBI:Oracle:host=localhost;sid=ORCL", "scott", "tiger");