1、创建数据库school,字符集为utf8 2、在school数据库中创建Student和Score表 3、授权用户tom,密码Mysql@123,能够从任何地方登录并管理数据库school create user ‘tom’@‘%’ identified by ‘Mysql@123’; grant all privileges on . to ‘tom’@‘%’ ; 4、使用mysql客户端登录服务器,重置root密码. alter user tom@localhost identified WITH mysql_native_password by ‘123456’;