mysql5.6之前需要账号的安全加固时间:2022-05-19 20:17:06mysql5.6之前需要账号的安全加固 从5.7开始就不需要了。 delete from mysql.user where user!='root' or host='localhost'; flush privilieges; drop database test; truncate table mysql.db;