Mysqldump

mysqldump:得到錯誤:1066:不是唯一的表/別名

  • August 22, 2014

通常是什麼導致這個 mysqldump 錯誤?

exec error: Error: Command failed: mysqldump: Got error: 1066: Not unique table/alias: 'TableFoo' when doing LOCK TABLES

此錯誤的常見情況是同一個表在 mysqldump 表列表中出現多個:

mysqldump [options] TableFoo  ... TableFoo ...

引用自:https://dba.stackexchange.com/questions/74709