We don't bite newbies here... much | |
PerlMonks |
MySQL ODBC under Windows hangsby Stephen Toney (Sexton) |
on Nov 16, 2005 at 15:18 UTC ( [id://509061]=perlquestion: print w/replies, xml ) | Need Help?? |
Stephen Toney has asked for the wisdom of the Perl Monks concerning the following question:
Dear Monks:
I am having trouble with a new installation of MyODBC and MySQL 5.0 under Windows, used with two different Perl CGI apps (using CGI.pm, of course). Every ODBC database request hangs the server until it times out. I think the MySQL is set up correctly, since it tests correctly from the ODBC Admin, and I can perform queries on it using Foxpro as a frontend using ODBC. I can also logon to mysql.exe as the 'ODBC' user and perform queries. So it boils down to something in the Perl apps. It's not the specific queries, because I've tested them with mysql.exe and also using SQL Server and Foxpro. Also, I've studied the SQL.LOG after running the Perl CGI app, and it appears that all connections and queries performed correctly. It's just that no results appear in the browser, and then the server times out. Here's my connection string: I've tried every combination of the connection I can think of, including adding the user "ODBC", the password "", NULL, etc. Any ideas would be greatly appreciated! Stephen
Back to
Seekers of Perl Wisdom
|
|