2
0
mirror of https://github.com/inventree/inventree-docs.git synced 2025-04-28 05:36:46 +00:00

Fix database name in GRANT command

This commit is contained in:
Jakob Haufe 2021-07-02 17:58:56 +00:00
parent f6293cbaca
commit 5c758c3488
No known key found for this signature in database
GPG Key ID: 4CF2B218F54DAE3D

View File

@ -192,7 +192,7 @@ Create a new user with complete access to the database:
``` ```
mysql> CREATE USER 'myuser'@'%' IDENTIFIED WITH mysql_native_password BY 'mypass'; mysql> CREATE USER 'myuser'@'%' IDENTIFIED WITH mysql_native_password BY 'mypass';
mysql> GRANT ALL ON blog_data.* TO 'djangouser'@'%'; mysql> GRANT ALL ON inventree.* TO 'djangouser'@'%';
mysql> FLUSH PRIVILEGES; mysql> FLUSH PRIVILEGES;
``` ```