Date: Thu, 28 Jul 2005 21:10:39 -0500 From: Dan Nelson <dnelson@allantgroup.com> To: Xu Qiang <Qiang.Xu@fujixerox.com> Cc: freebsd-questions@freebsd.org Subject: Re: groupadd/useradd in FreeBSD? Message-ID: <20050729021039.GB33847@dan.emsphone.com> In-Reply-To: <20050729014740.C969D1D9A7@imss.sgp.fujixerox.com> References: <20050729014740.C969D1D9A7@imss.sgp.fujixerox.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050729021039.GB33847>