mysqldump -uroot -p database > database.sql报错:
mysqldump: Got error: 1066: Not unique table/alias: ‘grc_remarks’ when using LOCK TABLES
解决方法是添加参数–single-transaction 代替 –lock-tables:
mysqldump –single-transaction -uroot -p database > database.sql
mysqldump -uroot -p database > database.sql报错:
mysqldump: Got error: 1066: Not unique table/alias: ‘grc_remarks’ when using LOCK TABLES
解决方法是添加参数–single-transaction 代替 –lock-tables:
mysqldump –single-transaction -uroot -p database > database.sql