My initial reaction is to say RTFM, but since this is so urgent, that's probably not an option. The error you seem to be reporting is a trivial one and is covered quite well in the MySQL documentation regarding security. If I were to be rude, I'd say 'use the correct password', or 'make sure you grant access to root and localhost on the database'. Once you have the 'mysql' command working from a system prompt, it should be trivial to get the DBI->Connect method working. Once you have that working, it should function fine when you install the script in the CGI directory.
The problem you are reporting does not appear to be a DBI problem, except that you can't code a working connect. Oh, the heck with it. This problem's not urgent to me. Start here: http://www.mysql.com/documentation/mysql/bychapter/manual_MySQL_Database_Administration.html#Connecting If you are still having problems, you need to do the following, before posting to the list: - Does what you are trying do to work from the command line, using the SQL utility for your database? - If you are writing a CGI script, can you get it to work interactively, where you can use 'perl -d' (which is quite difficult to do from within httpd). - If you are still having problems, tell us what you tried so far, what the exact error is, and POST THE PROBLEM SOURCE CODE. We can't see inside your computer. Honest. Good Luck, Dave On May 29, OMKAR (Pramod Shanbhag) scribed: > We have developed forum scripts in Perl-Cgi. When our script runs on the web server > using mysql database we get following error. > LoveMatch CGI Error > -------------------------------------------------------------------------------- > LoveMatch has exited with the following error: > > Can't connect to mySQL database. Access denied for user: > '[EMAIL PROTECTED]' (Using password: YES) > > This error was reported at: Sources/iDatabase/Driver/mySQL.pm line 57, line 64. > > Please note that your 'real' paths have been removed to protect your information > > Kindly provide us the solution on urgent basis. > > Regards > > Pramod >
