actiontech/dble

不支持percona工具mysql_random_data_load

yejr opened this issue · 0 comments

yejr commented
  • dble version:
    5.7.11-dble-3.22.07.0-891dd27f53e35a30166179d79d1dfadd5f2719da-20220915062343
# mysql命令行直接连接8066端口,能看到库 & 表
$ mysql -h127.0.0.1 -P8066 -uroot -p123456 -e "show tables" testdb | grep tb_global1
mysql: [Warning] Using a password on the command line interface can be insecure.
tb_global1

# 用percona工具mysql_random_data_load加载测试数据报错
$ mysql_random_data_load -h127.0.0.1 -P8066 -uroot -p123456 testdb tb_global1 10
INFO[0000] cannot get table tb_global1 struct: Error 1049: Unknown database 'testdb'