2021年1月

没啥用的

GRANT ALL PRIVILEGES ON . TO 'root'@'%' IDENTIFIED BY '密码' WITH GRANT OPTION;

mysql -u root -p

grant all privileges on . to root@'localhost' identified by '密码' with grant option;

flush privileges;