groupadd/useradd in FreeBSD?

Dan Nelson dnelson at allantgroup.com
Fri Jul 29 02:37:44 GMT 2005


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
	dnelson at allantgroup.com


More information about the freebsd-questions mailing list