mysqldump: Got error: 1044: Access denied for user 'user'@'10.%.%.%' to database 'db_name' when using LOCK TABLES
- [root@xok.la]# mysqldump -u dbuser -ppass db > db.sql
- mysqldump: Got error: 1044: Access denied for user 'dbuser'@'localhost' to database 'db' when using LOCK TABLES
- [root@xok.la]# mysqldump -u dbuser -ppass db --skip-lock-tables > db.sql
使用root账户备份。