DBI::mysql on MacOS X and Happy New Year
So if you’re a geek like me you’re installing mysql on your powerbook.
And if you’re doing this to run Perl on your powerbook, you’ll need DBI, which won’t install from cpan, so you’ll need the instructions here:
http://www.truerwords.net/articles/osx/install_dbd_mysql.html
And where it says “get the latest version”, DO get the latest version, because the version linked to on the page will not work. It’ll error with:
mysql.xs:100: error: too few arguments to function `mysql_shutdown’
You need http://www.cpan.org/modules/by-module/DBD/DBD-mysql-2.9004.tar.gz or later.
Happy New Year!
Email This Post
