Perl-Sensitive Sunglasses | |
PerlMonks |
Connecting to remote db with DBIby dana (Monk) |
on Mar 23, 2007 at 19:49 UTC ( [id://606334]=perlquestion: print w/replies, xml ) | Need Help?? |
dana has asked for the wisdom of the Perl Monks concerning the following question: Hi, I'm trying to connect to a MySQL database that is located on a server, but I think I am having problems with the connect statement. The program appears to hang (see output; I have to kill the process), so I turned on tracing. My code: The output:
I looked through the DBI documentation and several Tutorials (DBI recipes, The fine art of database programming, Reading from a database, and Tricks with DBI), but I couldn't find anything that seemed to address this issue. I also tried several google searches. I can connect to the database via the command line, so I don't think it is a problem with the server or the database itself.
Your wisdom and insights are appreciated. Thanks.
Back to
Seekers of Perl Wisdom
|
|