groupadd/useradd in FreeBSD?

Xu Qiang Qiang.Xu at fujixerox.com
Fri Jul 29 01:48:42 GMT 2005


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'

Is this the cause? 

Dan, I remember you said that mysqld will automatically setuid() itself to the "mysql" user when it
starts up. 

How to let the bench test run?

Thanks in advance, 

Regards,
Xu Qiang



More information about the freebsd-questions mailing list