MySQL5.6版本备份报错,密码不安全 [root@centos199 mysql]# mysqldump -uroot -ppassword cz-office > mysql38.sqlWarning: Using a password on the command line interface can be insecure. 解决方法1:进行交互式输入密码, [root@centos199 mysql]# mysqldump -uroot -p cz-office > mysql38…
mysql5.7版本开始创建用户需要create user 5.7版本之后,直接使用:grant select on MySQL.test01 to hug@localhost; 是不行的,会报错: Error Code: 1133. Can't find any matching row in the user table 5.7版本创建用户需要这样: CREATE USER hug@localhost IDENTIFIED BY '123456'; grant all on mysql.*…