|
MySql connect error message
When I try to run my perl script in SSH; I get this error message:
DBI->connect using 'old-style' syntax is deprecated and will be an error in future
versions at ScriptV.pl line 9
I've checked line 9 and it has the "new style" syntax:
$dbh=DBI->connect("dbi:MySQL:$database", $user, $pass);
so I'm not sure what else it could be.
What is required before the perl can connect to the mysql tables.
Thanks.
|