[MDEV-10089] Documentation states that RESOURCE OPTION is a keyword section in CREATE and LATER USER Created: 2016-05-20  Updated: 2016-06-15  Resolved: 2016-06-15

Status: Closed
Project: MariaDB Server
Component/s: Documentation
Fix Version/s: N/A

Type: Task Priority: Minor
Reporter: Anders Karlsson Assignee: Ian Gilfillan
Resolution: Fixed Votes: 0
Labels: None


 Description   

The documentation for CREATE USER and ALTER USER for MariaDB 10.2.0:
https://mariadb.com/kb/en/mariadb/create-user/
and
https://mariadb.com/kb/en/mariadb/alter-user/
seems to imply that to add a resource limit for a user, such as MAX_USER_CONNECTIONS, this is prefixed by WITH RESOURCE OPTION, where the correct prefix is just WITH, followed by the resource options. This is also what it looks like in the examples provided, So instead of

CREATE USER 'foo'@'bar.com' WITH RESOURCE OPTION MAX_USER_CONNECTIONS = 5:

the correct syntax is:

CREATE USER 'foo'@'bar.com' WITH MAX_USER_CONNECTIONS = 5:



 Comments   
Comment by Ian Gilfillan [ 2016-06-15 ]

Thanks, this has been corrected in the documentation.

Generated at Thu Feb 08 07:39:35 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.