in reply to Connecting to mysql using perl
I've had this problem on several occasions and it sounds as though it wasn't quite configured correctly when installed. Rather than hacking it now, I would seriously recommend that you reinstall which would be the quickest.
I think it has been configured to look in the wrong directory, check while you re-install.
Good luck.