我在MySQL 8中有两个数据库,dbdev和dbprod。我使用的是MySQL Workbench>工具> MySQL实用程序的启动Shell。然后我跑了:
$ mysqldbcompare --server1=root:password@localhost --server2=root:password@localhost dbdev:dbprod --run-all-tests --skip-data-check --difftype=sql
# WARNING: Using a password on the command line interface can be insecure.
# server1 on localhost: ... connected.
# server2 on localhost: ... connected.
# Checking databases dbdev on server1 and dbprod on server2
#
ERROR: Query failed. 1146 (42S02): Table 'mysql.proc' doesn't exist
$
MySQL版本:
mysql> select version();
+-----------+
| version() |
+-----------+
| 8.0.16 |
+-----------+
1 row in set (0,00 sec)
mysql>
我正在使用Ubuntu 18.04LTS:
$ uname -a
Linux rf511 4.15.0-54-generic #58-Ubuntu SMP Mon Jun 24 10:55:24 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
如何解决?