<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    posts - 88, comments - 3, trackbacks - 0, articles - 0
      BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理
    MySQL 5.5多出了兩個新數據庫 information_schema performance_schema

    mysql> show databases;
    +--------------------+
    | Database           |
    +--------------------+
    | information_schema | 
    | mysql              | 
    | performance_schema | 
    | test               | 
    +--------------------+
       

    但是用mysqldump去備份這兩個數據庫的時候都會報錯

    mysqldump: Got error: 1044: Access denied for user 'root'@'localhost' to database 'information_schema' when using LOCK TABLES

    mysqldump: Got error: 
    1142: SELECT,LOCK TABL command denied to user 'root'@'localhost' for table 'cond_instances' when using LOCK TABLES

    用--all-databases備份時也不會備份這兩個數據庫
    官方文檔里解釋到:
    http://dev.mysql.com/doc/refman/5.5/en/mysqldump.html

    總結一下,如果一定要用mysqldump去備份這兩個數據庫不是不可以,但是得disable lock tables。 我用的是:
    --database information_schema --lock-tables=0



    評論

    # re: About mysqldump of MySQL 5.5 backup information_schema & performance_schema databases  回復  更多評論   

    2012-05-15 07:54 by moper
    挺不錯的,轉載了~
    主站蜘蛛池模板: 野花香高清在线观看视频播放免费| 国产成人亚洲精品电影| 午夜精品免费在线观看| 亚洲AV无码专区国产乱码4SE| a级毛片在线免费观看| 久久国产精品亚洲综合| 久久永久免费人妻精品| 亚洲综合小说久久另类区| 免费看美女裸露无档网站| 亚洲国产91在线| 色播在线永久免费视频| 理论秋霞在线看免费| 亚洲午夜久久久影院| 99久久国产免费-99久久国产免费| 亚洲经典在线观看| 午夜一级毛片免费视频| 高清免费久久午夜精品| 国产亚洲欧洲Aⅴ综合一区 | 亚洲午夜未满十八勿入| 亚洲精品在线免费看| 2020国产精品亚洲综合网| 四虎影视精品永久免费| 久久久久久久久久久免费精品 | 亚洲视频无码高清在线| | 亚洲一区二区三区不卡在线播放| 四虎免费在线观看| 国产伦精品一区二区免费| 亚洲黄色在线观看| 四虎影视在线永久免费看黄| 99在线视频免费观看| 亚洲国产综合在线| 亚洲成片观看四虎永久| 88av免费观看| 污网站在线观看免费| 久久久婷婷五月亚洲97号色| 国产无遮挡裸体免费视频| 久久免费视频99| 黄色网址大全免费| 亚洲a级片在线观看| 亚洲人成在线播放网站|