-1
mysql -V對於debian(Jessie)來說是5.5.54。mysqldbcompare命令的語法錯誤
我在mysql命令提示符下試圖運行這個命令:
mysqldbcompare [email protected] calendar_dup:calendar --run-all-tests
我得到以下錯誤:
ERROR 1064 (42000): You have an error in your SQL sytax; check manual that corresponds to your MySQL server version for the right syntx to use near 'mysqldbcompare [email protected] calendar_dup:calendar --run-all-tests' at line 1
...到您的MySQL服務器版本的右邊的syntx使用附近'mysqldbcompare [email protected] calendar_dup:calendar --run-all-tests'在第1行 – StevieD
'mysqldbcompare'不能比較'--server1'到什麼地方......你的'--server2'選項在哪裏?根據文檔 –
,它不需要:https://dev.mysql.com/doc/mysql-utilities/1.6/en/mysqldbcompare.html – StevieD