Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things
 
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


Comment on Re: DBI Failing to connect from cgi script
Download Code

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://154654]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others rifling through the Monastery: (6)
As of 2014-08-30 00:38 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The best computer themed movie is:











    Results (289 votes), past polls