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