1. 启动(一般都是启动好的)
net start mysql
2. 登录
mysql -u root -p
3. 创建数据库
create database runoob;
4. 创建用户
create user 'scott'@'localhost' identified by '123456';
5. 给予权限
grant all privileges on runoob.* to 'scott'@'localhost';