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