> 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
- Using DBI when MySQL is on another server David Coley
- RE: Using DBI when MySQL is on another server Sterin, Ilya
- RE: Using DBI when MySQL is on another server David Coley
- RE: Using DBI when MySQL is on another server Sterin, Ilya
- RE: Using DBI when MySQL is on another server Steve Howard
- RE: Using DBI when MySQL is on another server Aaron
- RE: Using DBI when MySQL is on another server David Coley
- RE: Using DBI when MySQL is on another server Steve Howard
