You need a colon after use DBI.
_/ Thunder Jon Parley
_/ Software Engineer
_/_/_/ _/_/_/ ISSO - Software Mastering
_/ _/ _/_/_/
_/ _/ _/
i n v e n t [EMAIL PROTECTED]
-----Original Message-----
From: Dan Finch [mailto:[EMAIL PROTECTED]]
Sent: Thursday, May 30, 2002 2:13 PM
To: [EMAIL PROTECTED]
Subject: Problem connecting to mysql database
I'm trying to connect to a mysql database i've created on a linux 7.2
server. I've included the code i'm trying to use to make the connection but
I'm getting what looks like an error when the perl script is compiled. I
suspect that something is not installed that I need. If you need any
additional information let me know. Any hints to what I need to make this
work would be appreciated.
Code:
use DBI
$database = "print_quota";
$dbh = DBI->connect("DBI:mysql:$database","username","password");
Error message:
"print_quota" is not exported by the DBI module at ./connect line 5
Can't continue after import errors at ./connect line 5