AlbertAguirre
Programmer
hey all.. using mysql and perl at the command line.
I am using a legit login and password for the db but I get this:
DBI connect('dbPortal:[ip here]','[login]',...) failed: Access denied for user '[login]'@'[ip here]' (using password: YES) at /usr/local/lib/perl5/site_perl/5.8.5/DBD/mysqlPP.pm line 109 at tmp2.pl line 6
heres my code:
#!/usr/bin/perl -w
use DBI;
$dbh = DBI->connect("DBI:mysqlPP:dbPortal:[ip here]","[login]","[password]");
$dbh->disconnect;
please help?
I understand theres supposed to be an entry in the hosts table as well as user tables? I know the user is in there and theres an entry for host "@" which means all?
I am using a legit login and password for the db but I get this:
DBI connect('dbPortal:[ip here]','[login]',...) failed: Access denied for user '[login]'@'[ip here]' (using password: YES) at /usr/local/lib/perl5/site_perl/5.8.5/DBD/mysqlPP.pm line 109 at tmp2.pl line 6
heres my code:
#!/usr/bin/perl -w
use DBI;
$dbh = DBI->connect("DBI:mysqlPP:dbPortal:[ip here]","[login]","[password]");
$dbh->disconnect;
please help?
I understand theres supposed to be an entry in the hosts table as well as user tables? I know the user is in there and theres an entry for host "@" which means all?