DBD::MySQL and Snow Leopard

Written by breandan on 5/29/2011 Categories: Development, Technology Tags: , , , ,

Getting cthulhu-manip running on Mac OS X means getting the DBD::MySQL perl modules installed. Which means, sadly, installing MySQL. The good news is it’s actually easy. Just go to dev.mysql.com and download the Mac OS X Intel 64 bit (x86_64) version, and untar the file as /usr/local/mysql:


bwdezend@harbinger:[~/Desktop] $ tar xvzf mysql-5.5.12-osx10.6-x86_64*
bwdezend@harbinger:[~/Desktop] $ sudo mv mysql-5.5.12-osx10.6-x86_64 /usr/local/mysql

Then, go build DBD::mysql with CPAN:


bwdezend@godzilla:[~] $ sudo perl -MCPAN -e shell
Password:
cpan[1]> install DBD::mysql

It will print a bunch of crap on the screen as it installs, and then you’re all done, and you can use DBD::mysql, which is needed for my auto-blocking scripts to work.

1 Comment

1 Comment