install DBD::mysql error connect to server at 'localhost' failed. Second error Make had some problems, won't install

Posted by jayvirk on 2014-10-06 13:03
Forums: PPM | OS: Windows 8

Hi,

I am new to Perl. Tried to connect to database MySQL with Perl program.

Ran this cpan> install DBD::MySQL

Error connect to server at 'localhost' failed -- error 'Access denied for user'ODBC'@'localhost' (using password: NO)'

Running make test
Make had some problems, won't test
Running make install
Make had some problems, won't install
Couldn't read metadata file. falling back to other methods to determine prerequisites

Please some one can guide me
Thanks