Skip to content
GitLab
Explore
Sign in
Moritz Sokoll
PyBlog
Wiki
Install & Setup
Install & Setup
· Changes
Page history
Update Install & Setup
authored
Feb 23, 2021
by
Moritz Sokoll
Hide whitespace changes
Inline
Side-by-side
Install-&-Setup.md
View page @
ee5afd65
...
@@ -43,3 +43,11 @@ CREATE IF NOT EXISTS TABLE pyblog_users (
...
@@ -43,3 +43,11 @@ CREATE IF NOT EXISTS TABLE pyblog_users (
PRIMARY
KEY
(
uuid
)
PRIMARY
KEY
(
uuid
)
);
);
```
```
now we need to grant permissions to our user:
```
sql
GRANT
ALL
ON
pyblog
.
*
to
'uesrname'
@
'%'
;
```
and flush the privileges
```
sql
FLUSH
PRIVILEGES
;
```
\ No newline at end of file