错误显示如下两种
1、mysqldump: [Warning] Using a password on the command line interface can be insecure.
这个错误问题是因为从 mysql5.7 开始就不能在命令代码中留密码了,这样才能保证信息的安全。当然,留下来也没关系,不影响进度。
2、mysqldump: Error: ‘Access denied; you need (at least one of) the PROCESS privilege(s) for this operation’ when trying to dump tablespaces
这个错误实际上可以忽略。如果觉得难看,就在 mysqldump 的末尾加上"--no-tablespaces"。
mysqldump -uitbulu -pitbuluom idcxen > itbulu.sql --no-tablespaces