标签:登录 enter student password 关于 修改 语法 roo str
Create user `username`@host [Identified by [password] `password`];
例:
create user `teacher`@`localhost` identified by ‘12345’, 或者
create user `teacher`@`localhost (无密码)
语法:
Grant priv_type on 数据库或者数据表 to username@localhost(或者IP地址) identified by ‘123’;
Mysqladmin –u root –p password “123”;
Enter password:原密码(root);
语法:
Set password=password(“000”); //修改当前用户密码
Set password for teacher@localhost=password(“123”); //修改指定账户密码
Drop user `studentr` @localhost;
标签:登录 enter student password 关于 修改 语法 roo str
原文地址:http://www.cnblogs.com/ase0311/p/7642513.html