# 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

arrow
arrow
    文章標籤
    mysql mysqldump
    全站熱搜

    helloworld 發表在 痞客邦 留言(0) 人氣()