Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: DBI Failing to connect from cgi script

by peppiv (Curate)
on Mar 27, 2002 at 13:10 UTC ( #154654=note: print w/replies, xml ) Need Help??


in reply to DBI Failing to connect from cgi script

I may be way off track because I've never used ODBC with DBI, but in all my DBI connections I've always had to name the login something. I know I've read it's OK to login as '', '', but my ISP taught me otherwise. Have you tried logging in as root?

my $dbh = DBI->connect('DBI:mysql:your_database_here','root','');

peppiv

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://154654]
help
Chatterbox?
and all is quiet...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (1)
As of 2017-04-29 00:19 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I'm a fool:











    Results (531 votes). Check out past polls.