《MySQL数据库安全策略,需要注意的地方Mysql学习》要点:
本文介绍了MySQL数据库安全策略,需要注意的地方Mysql学习,希望对您有用。如果有疑问,可以联系我们。
mysql> delete from mysql.user
- mysqladmin -uroot password "密码"
- mysqladmin -uroot password "密码" -S /var/tmp/mysql.sock
grep "tmmp" /var/log/mysql.log
登陆到数据库后,
alter user root@localhost identified by "密码"
set password=password "密码"
update mysql.user set password=password "密码" where user='root'
转载请注明本页网址:
http://www.vephp.com/jiaocheng/5589.html