易陆发现互联网技术论坛

 找回密码
 开始注册
查看: 4136|回复: 0
收起左侧

mysqldump -u root -p --all-databases

[复制链接]
发表于 2017-5-27 09:31:37 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?开始注册

x
# mysqldump -u root -p --all-databases > all.sql
2 a" [# @! K/ L1 l  L) j) |Warning: Using a password on the command line interface can be insecure.8 \" V+ @, r+ k3 I, K
Warning: A partial dump from a server that has GTIDs will by default include the GTIDs of all transactions, even those that changed suppressed parts of the database. If you don't want to restore GTIDs, pass --set-gtid-purged=OFF. To make a complete dump, pass --all-databases --triggers --routines --events.
0 V  r5 T# O6 u/ r
# f2 q/ M: l$ I* d2 C& U( b: B  W6 g2 g+ z  {
您需要登录后才可以回帖 登录 | 开始注册

本版积分规则

关闭

站长推荐上一条 /4 下一条

北京云银创陇科技有限公司以云计算运维,代码开发

QQ|返回首页|Archiver|小黑屋|易陆发现技术论坛 点击这里给我发消息

GMT+8, 2026-4-8 13:19 , Processed in 0.039061 second(s), 23 queries .

Powered by Discuz! X3.4 Licensed

© 2012-2025 Discuz! Team.

快速回复 返回顶部 返回列表