How do I install the DBD-mysql extension ?
Cool Stack 1.2 includes the DBD-mysql extension, so it should just work. Cool Stack 1.1 does not include the DBI and DBD-mysql extensions. You can upgrade to Cool Stack 1.2 or if you want to stick to 1.1, here are the steps required to install this extension : • Add the following to PATH : /opt/coolstack/mysql_32bit/bin:/opt/coolstack/bin BEFORE /usr/bin. If you have /usr/sfw/bin in your PATH, make sure the coolstack directories appear BEFORE /usr/sfw/bin. You will need the Sun Studio compiler and /usr/ccs/bin in your PATH as well. Note that there is a bug in Sun Studio 11 that prevents DBD from being built successfully on x86, so please use Sun Studio 12 on that platform. • Download and install the CSKamp package (we need the mysql libraries and binaries) • Download DBI-1.54 and run : • perl Makefile.PL; make; make test; make install • Create a local mysql database and start the server : • cd /opt/coolstack/mysql_32bit/bin; ./mysql_install_db; ./mysqld_safe & • Download DBD-mysql-4.