Re: dbi connecting prob -
From: vortex [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject:dbi connecting prob - Date sent: Mon, 14 May 2001 09:30:01 -0700 vortex, Why will this code not let me connect to a server use DBI; my $dsn =
RE: dbi connecting prob -
Well you did't say what the error was. Try this and at least you should get an error that tells you something about why connect is failing. use DBI; my $dsn = 'DBI:mysql:my_database:localhost'; my $db_user_name = 'admin'; my $db_password = 'secret'; my $dbh = DBI-connect($dsn, $db_user_name,