B站 地址:
https://www.bilibili.com/video/BV1HG411w7tt/?spm_id_from=333.1007.top_right_bar_window_history.content.click&vd_source=c7d7a0557cef43294c420ca995c380e8
进入命令窗口模式

登录mysql
mysql -uroot -p1234


use mysql
注意英文符号大小写
select host,user form user;

grant all privileges on *.* to 'root12345'@'%' identified by 'root12345' with grant option;

flush privileges;
