找回密码
 注册
查看: 4134|回复: 0

mysqldump -u root -p --all-databases

[复制链接]

1

主题

0

回帖

12

积分

管理员

积分
12
QQ
发表于 2017-5-27 09:31:37 | 显示全部楼层 |阅读模式
# mysqldump -u root -p --all-databases > all.sql
1 ?, S+ M) s7 A- Q+ v- ?Warning: Using a password on the command line interface can be insecure.
+ G3 D( ~+ s4 L4 m5 }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.
3 t0 y' e3 u+ n6 l6 d
& o2 a5 h% E, x( F0 u! T
9 {3 b: y, J' r! R# d- h& W2 ~
您需要登录后才可以回帖 登录 | 注册

本版积分规则

返回首页|Archiver|手机版|小黑屋|易陆发现技术论坛 ( 蜀ICP备2026014127号-1 )

GMT+8, 2026-6-12 00:57 , Processed in 0.015949 second(s), 23 queries .

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

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