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:
parent
f6293cbaca
commit
5c758c3488
@ -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;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user