In the last episode (Jul 29), Xu Qiang said: > Maybe it is an off-topic question. > > I "cd /usr/local/mysql/sql-bench" and "perl run_all_tests", just to get the > following error: > ------------------------------------------------------------- > Got error: 'Access denied for user 'root'@'localhost' (using password: NO)' > when connecting to DBI:mysql:database=test;host=localhost with user: '' > password: '' > ------------------------------------------------------------- > > By the way, before doing the bench test, I did this operation: > /usr/local/mysql/bin/mysqladmin -u root password 'new-password' > /usr/local/mysql/bin/mysqladmin -u root -h gso_dev_2.workgroup password > 'new-password'
You set a password on mysql's root user, and probably didn't tell sql-bench about it. Take a look at the the sql-bench documentation or look at the run_all_tests script to find out how to tell it what the password is. -- Dan Nelson [EMAIL PROTECTED] _______________________________________________ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"