blob: 3f32329b80c415b51853f1237c86ee3463c2c021 (
plain)
1
2
3
4
5
6
7
8
|
connect mysql, localhost, root,,;
use mysql;
create user 'test'@'localhost';
select user, host, is_role from user where user='test' and host='localhost';
User Host is_role
test localhost N
drop user 'test'@'localhost';
disconnect mysql;
|