> I've looked through the docs on this so I thought I'd go to the horse mouth.

try this:

DBI->connect("DBI:mysql:$db_name:$host",$db_user,$db_password)

or read the doecs (from perldoc DBI)


           Examples of $data_source values:

             dbi:DriverName:database_name
             dbi:DriverName:database_name@hostname
             dbi:DriverName:database_name~hostname!port
             dbi:DriverName:database=database_name;host=hostname;port=port

hth,

Aaron

Reply via email to