MySQL Forums
Forum List  »  Perl

Re: MySQL, Solaris 9 and DBD::mysql
Posted by: Michael Dettmer
Date: December 21, 2004 06:55AM

Hi there,
I had similar problems with "make test". This is what I've done (change paths appropriately)

1. expand PATH with the mySQL binary path (there is a program that needs to be run).
export PATH=/usr/local/mysql/bin/:$PATH

2. similar thing with LD_LIBRARY_PATH:
export LD_LIBRARY_PATH=/usr/local/mysql/lib/mysql:$LD_LIBRARY_PATH

3. The MySQL Server has to be up and must accept connections through the default port

4. Provided you have a mySQL user which could be used for testing, call perl Makefile.PL (first step of installing a perl Module) with options --testuser='user' --testpassword='userSPassword' otherwise generate a user and run the "perl Makefile.PL" afterwards.

Good luck

Options: ReplyQuote


Subject
Written By
Posted
Re: MySQL, Solaris 9 and DBD::mysql
December 21, 2004 06:55AM
June 05, 2006 10:49AM
June 05, 2006 01:10PM
March 07, 2005 12:57PM
March 07, 2005 12:58PM
February 14, 2006 10:32AM
October 24, 2007 08:59AM
November 17, 2007 07:58PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.