摘要:
1.mysql用户登录: mysql>mysql -u user -p 回车后输入密码2.新建mysql用户: mysql>insert into mysql.user(Host,User,Password) values("localhost","xiaoming",password("1234"));3.用户授权mysql>grant all privileges/select/update/delete on dataname.tablename to username@localhost identified 阅读全文