MYSQL创建用户

mysql> CREATE USER 'gs_sys'@'%' IDENTIFIED BY '123456';
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT ALL ON gs_sys.* TO 'gs_sys'@'%';
Query OK, 0 rows affected (0.00 sec)