- MySQL> create user [email protected]'%' identified by 'haocheng.123';
- Query OK, 0 rows affected (0.01 秒)
- MySQL> grant select,insert,update,delete on test.t_m_user to [email protected]'%';
- Query OK, 0 rows affected (0.02 秒)
- MySQL>
来源: http://www.bubuko.com/infodetail-3029189.html