DBD-mysql install for OSX Server 10.4+ (TIGER)Assumes OSX Server 10.4+ MySql as installed by Apple. Enable MySql to run. Create a database called "test" (if you don't already have one) and make sure that "root" or whatever username you're using is able to access the "test" database with your MySql password. Login as "root" during the installation. Be sure to edit below "testuser" and "testpassword" otherwise your installation will not be successful. Before you can compile DBD::mysql it is necessary that you edit Apple's "mysql_config" file. open -e /usr/bin/mysql_config replacing ldflags=' -pipe' curl -O http://cpan.binarycompass.org/authors/id/C/CA/CAPTTOFU/DBD-mysql-2.9007.tar.gz gunzip DBD-mysql-2.9007.tar.gz tar -xvf DBD-mysql-2.9007.tar cd DBD-mysql-2.9007 perl Makefile.PL --testdb=test --testuser=root --testpassword=secret make make test make install Bundle::DBI will build via cpan: sudo cpan install Bundle::DBI quit |