bhuang 发表于 2009-11-27 22:30:20

是否可以在远端机器上运行sql-bench去测试MySQL的性能?

是否可以在远端机器上运行sql-bench去测试MySQL的性能?
通过mysql --user=root --password='root' -h 10.101.0.135 test 可以连接到远端服务器,但是运行./run-all-tests --host 10.101.0.135 --user='root' --password='root'报权限的错误。大家有没有解决的建议?


# ./run-all-tests --host 10.101.0.135 --user='root' --password='root'
Got error: 'Client does not support authentication protocol requested by server; consider upgrading MySQL client' when connecting to DBI:mysql:database=test;host=10.101.0.135 with user: 'root' password: 'root'
# mysql --user=root --password='root' -h 10.101.0.135 test
Welcome to the MySQL monitor.Commands end with ; or \g.
Your MySQL connection id is 30307
Server version: 5.0.85-tmc-op-log Source distribution

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql>
页: [1]
查看完整版本: 是否可以在远端机器上运行sql-bench去测试MySQL的性能?