search

Home  >  Q&A  >  body text

mysql - 用Cron Jobs備份數據庫?

PHP中文网PHP中文网2768 days ago500

reply all(1)I'll reply

  • 巴扎黑

    巴扎黑2017-04-17 16:08:25

    Note the words in bold:

    mysqldump -u mysql_user -ppassword database_name > backup.sql

    For example, if your password is 123456
    , it should be -p123456-p123456
    而不是 -p 123456 instead of -p 123456

    reply
    0
  • Cancelreply