更新root密码
ALTER USER root@localhost IDENTIFIED WITH mysql_native_password BY "123456";
1.查看所有数据库
show databases
2.登陆MySql
mysql -u root -p