I am following:
While trying to create the stnduser I got:
ProxySQL Admin> CREATE USER 'stnduser'@'%' IDENTIFIED BY 'stnduser';
ERROR 1045 (28000): ProxySQL Admin Error: near "USER": syntax error
Later, I run the next cmd:
ProxySQL Admin> INSERT INTO mysql_users(username,password,default_hostgroup) VALUES ('stnduser','stnd user',1);
Query OK, 1 row affected (0.001 sec)
ProxySQL Admin> SELECT * FROM mysql_users;
+----------+----------+--------+---------+-------------------+----------------+---------------+------- -----------------+--------------+---------+----------+-----------------+------------+---------+
| username | password | active | use_ssl | default_hostgroup | default_schema | schema_locked | transa ction_persistent | fast_forward | backend | frontend | max_connections | attributes | comment |
+----------+----------+--------+---------+-------------------+----------------+---------------+------- -----------------+--------------+---------+----------+-----------------+------------+---------+
| stnduser | stnduser | 1 | 0 | 1 | NULL | 0 | 1 | 0 | 1 | 1 | 10000 | | |
+----------+----------+--------+---------+-------------------+----------------+---------------+-------
So, I tried to grant all privileges stnduser using:
ProxySQL Admin> GRANT ALL PRIVILEGES ON . TO 'stnduser'@'%';
ERROR 1045 (28000): ProxySQL Admin Error: near "GRANT": syntax error
Is the guide wrong?
Thanks