From owner-freebsd-questions@FreeBSD.ORG Fri Jul 29 02:37:43 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C3C5316A421 for ; Fri, 29 Jul 2005 02:37:42 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7F4034402C for ; Fri, 29 Jul 2005 02:10:40 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.3) id j6T2AdOh041105; Thu, 28 Jul 2005 21:10:39 -0500 (CDT) (envelope-from dan) Date: Thu, 28 Jul 2005 21:10:39 -0500 From: Dan Nelson To: Xu Qiang Message-ID: <20050729021039.GB33847@dan.emsphone.com> References: <20050729014740.C969D1D9A7@imss.sgp.fujixerox.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050729014740.C969D1D9A7@imss.sgp.fujixerox.com> X-OS: FreeBSD 5.4-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.9i Cc: freebsd-questions@freebsd.org Subject: Re: groupadd/useradd in FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Jul 2005 02:37:44 -0000 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