Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
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 surveying the Monastery: (13)
As of 2014-09-19 18:31 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (144 votes), past polls