in reply to Can't Connect to MySQL after port

It is telling you all you need to know in that first error
install_driver(mysql) failed: Can't locate DBD/mysql.pm in ...
You need to find where the module is on your system and put a use lib to the appropriate directory. I don't know if FreeBSD has the locate command but in Linux I would use it to find DBD/mysql.pm and add a use lib to the directory that DBD is in... mine is in /usr/lib/perl5/DBD/mysql.pm so I would do a use lib '/usr/lib/perl5';...

if that doesn't work I would say you have a broken install, and how did you install it? (are the mysql client C libraries installed?)

                - Ant
                - Some of my best work - (1 2 3)