in reply to NET:MySQL database connection error -- (Using password: NO) at MySQL_queryDB.pl
Which version of MySQL are you running? The last release of Net::MySQL was over three years ago, I've never used it (though I've used DBD::MySQL). Try adding debugging in your constructor:
my $mysql = Net::MySQL->new( hostname => 'testscript', database => 'test', user => 'tester', password => 'tester', debug => 1 );
Super search shows that people are having problem with this module, looking at some of those issues may be worth while.
Update: Also look to see if any of the reported bugs for Net::MySQL are relevant.
Martin
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: NET:MySQL database connection error -- (Using password: NO) at MySQL_queryDB.pl
by sqspat (Acolyte) on Sep 24, 2009 at 12:09 UTC | |
by marto (Cardinal) on Sep 24, 2009 at 13:16 UTC | |
by sqspat (Acolyte) on Sep 24, 2009 at 14:01 UTC | |
by zwon (Abbot) on Sep 24, 2009 at 17:02 UTC |