Re: Access denied for user: (from perl script)

2002-03-23 Thread Andrew Lietzow
Hello list, I am attempting to run: >perl -MCPAN -e 'install DBD::mysql'< I am having a similar problem as the message that is in this subject line, reported by Jon Ingason in a message dated March 1, 2002. I must have tried the install routine at least 15 times, varying different settings that

RE: Access denied for user: (from perl script)

2002-03-01 Thread Salada, Duncan
Are you using the latest version of DBI? Also, your "if ($dbh) {" seems a little backward. According to the DBI docs, "If the connect fails (see below) it returns undef and sets $DBI::err and $DBI::errstr." So shouldn't your conditional be "if (!$dbh) {". Perhaps you are actually connecting. I'