推荐学习书目
› Learn Python the Hard Way
Python Sites
› PyPI - Python Package Index
› http://diveintopython.org/toc/index.html
› Pocoo
值得关注的项目
› PyPy
› Celery
› Jinja2
› Read the Docs
› gevent
› pyenv
› virtualenv
› Stackless Python
› Beautiful Soup
› 结巴中文分词
› Green Unicorn
› Sentry
› Shovel
› Pyflakes
› pytest
Python 编程
› pep8 Checker
Styles
› PEP 8
› Google Python Style Guide
› Code Style from The Hitchhiker's Guide
rogwan
V2EX  ›  Python

备份 MySQL 数据库中 users 表,怎么没有用呢?

  •  
  •   rogwan · May 19, 2016 · 3998 views
    This topic created in 3791 days ago, the information mentioned may be changed or developed.

    mysql> mysqldump -u root -p12345678 database_name users > users_backup.sql

    只需要备份一下数据库( databas_name)中的用户数据表(users),上面的这个命令怎么没有用啊?

    8 replies  •  2016-05-21 10:40:24 +08:00
    mashpolo
        1
    mashpolo  
       May 19, 2016
    mysqldump 不是在 mysql 命令行中使用的。
    elgoog1970
        2
    elgoog1970  
       May 19, 2016
    楼上 正解
    Neveroldmilk
        3
    Neveroldmilk  
       May 19, 2016
    mysql dump 是命令行执行的。
    rogwan
        4
    rogwan  
    OP
       May 19, 2016
    @mashpolo @elgoog1970 @Neveroldmilk 谢谢,用系统命令行可以操作啦 (*_*)
    jiangew
        5
    jiangew  
       May 19, 2016
    mysqldump 是命令行执行的。。。
    sunchen
        6
    sunchen  
       May 19, 2016
    感觉 users 表要不保
    rogwan
        7
    rogwan  
    OP
       May 19, 2016
    @sunchen 就是啥都不要啦,也要力保 users 表嘛 *_*
    wellsc
        8
    wellsc  
       May 21, 2016 via Android
    善用搜索引擎
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   2276 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 10:18 · PVG 18:18 · LAX 03:18 · JFK 06:18
    ♥ Do have faith in what you're doing.