# mysqldump -h mysqldb -u root -p information_schema
mysqldump: Got error: 1044: Access denied for user 'root'@'test' to database 'information_schema' when using LOCK TABLES
解決方式
加上 --single-transaction
或是 --skip-locl-tables 參數
如:
# mysqldump --single-transaction -h mysqldb -u root -p information_schema
# mysqldump --skip-lock-tables -h mysqldb -u root -p information_schema
文章標籤
全站熱搜
留言列表