What usually causes this mysqldump error?
exec error: Error: Command failed: mysqldump: Got error: 1066: Not unique table/alias: 'TableFoo' when doing LOCK TABLES
A common case for this error is when the same table appears more than one in the mysqldump list of tables:
mysqldump [options] TableFoo ... TableFoo ...
+mysql +"error 1066" and you will see many more examples of human error.
– RolandoMySQLDBA
Aug 24 '14 at 04:01
fooandFOOwere interpreted as the same because lower_case_table_names was enabled. Based on your answer below, you simply repeated the database name. – RolandoMySQLDBA Aug 24 '14 at 04:22