sh$ perl -MCPAN -e 'shell'
cpan> get DBI
cpan> get DBD::mysql
cpan> exit
sh$ sudo perl -MCPAN -e 'install DBI'
sh$ cd ~/.cpan/build/DBD-mysql-[hit TAB]
sh$ cat README.OSX
After reading the solution at https://discussions.apple.com/thread/3932531?start=0&tstart=0&fb_source=message
sh$ sudo install_name_tool -id /usr/local/mysql-5.6.11-osx10.7-x86_64/lib/libmysqlclient.18.dylib /usr/local/mysql-5.6.11-osx10.7-x86_64/lib/libmysqlclient.18.dylib
sh$ perl Makefile.PL --mysql_config=/usr/local/mysql/bin/mysql_config --testuser=root
sh$ make
sh$ make test
sh$ sudo make install