Failure of sql-bench test?

2005-07-28 Thread Xu Qiang
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? 

How to let the bench test run?

Thanks in advance, 

Regards,
Xu Qiang



--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



RE: Failure of sql-bench test?

2005-07-28 Thread Xu Qiang
Xu Qiang wrote:
 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: ''
 -  

Sorry I didn't read the file README in the sql-bench directory before asking 
the question. 
Now I run the test with perl run-all_tests --user=mysql, and it can run 
successfully now. 

Regards,
Xu Qiang


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]