--- "Eduardo A. dela Rosa" <EAdelaRosa@xxxxxxxxxxxx> wrote: > On Fri, 2003-10-17 at 02:24, Dali Islam wrote: > > > After I ran the command from the > > /usr/loca/mysql/sql-bench folder "perl > run-all-tests" > > I got the following error: > > > > GOT error: 'Can't connect to local MySql server > > through socket '/var/lib/mysql/mysql.sock' (2) > when > > connecting to > DBI:mysql:database=test;host=localhost > > with user: '' password" '' > > > > > Go check and edit the /etc/my.cnf: > > 1. look for the line that contains the following: > > [client] > port = 3306 > socket = /var/lib/mysql/mysql.sock > > [mysqld] > port = 3306 > socket = /var/lib/mysql/mysql.sock > > > > 2. in both section (client & mysql) replace the > value of socket to: > > > socket = /tmp/mysql.sock > > > 3. try running the mysqld (folder > /usr/local/mysql/bin should be in > your $PATH) > 4. then check the file /tmp/mysql.sock (it should > exist) > 5. your "run-all-test" should post no problem. > > Cheers! > > -- > EDUARDO A. DELA ROSA > MCOM/2414 > http://www.smart.com.ph > > "Anyone who has never made a mistake has never tried > anything new." > -- Albert Einstein > I got further now, now I got a differetn error: [root@e2000era-linux sql-bench]# ./run-all-tests install_driver(mysql) failed: Can't locate DBD/mysql.pm in @INC (@INC contains: /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 /usr/lib/perl5/site_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/site_perl/5.8.0 /usr/lib/perl5/site_perl /usr/lib/perl5/vendor_perl/5.8.0/i386-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.0 /usr/lib/perl5/vendor_perl /usr/lib/perl5/5.8.0/i386-linux-thread-multi /usr/lib/perl5/5.8.0 .) at (eval 51) line 3. Perhaps the DBD::mysql perl module hasn't been fully installed, or perhaps the capitalisation of 'mysql' isn't right. I did a rpm -q perl and it shows the perl-5.8.0-88.3 is installed. Please advise! Also I had to go in the sql-bench to run the run-all-parts even though I have the /usr/local/mysql/bin in my path. Thanks Dali __________________________________ Do you Yahoo!? The New Yahoo! Shopping - with improved product search http://shopping.yahoo.com -- redhat-list mailing list unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe https://www.redhat.com/mailman/listinfo/redhat-list