Skip to content

Instantly share code, notes, and snippets.

@huobazi
Forked from huacnlee/gist:505642
Created May 16, 2011 03:00
Show Gist options
  • Save huobazi/973850 to your computer and use it in GitHub Desktop.
Save huobazi/973850 to your computer and use it in GitHub Desktop.
- MySQL 创建超级用户 创建用户,并有localhost下所有数据库的超级权限
grant all on *.* to monster@localhost identified by "123456";
flush privileges;
- 删除用户
use mysql;
delete from user where user = 'monster';
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment