kopia lustrzana https://github.com/linuxserver/docker-documentation
Update docker-bookstack.md
rodzic
4df36f32fc
commit
cfce531b36
|
@ -110,8 +110,11 @@ Once the MariaDB container is deployed, you can enter the following commands int
|
||||||
|
|
||||||
**Note** this will allow any user with these credentials to connect to the server, it is not limited to localhost
|
**Note** this will allow any user with these credentials to connect to the server, it is not limited to localhost
|
||||||
|
|
||||||
|
```bash
|
||||||
|
mysql -u root -p
|
||||||
```
|
```
|
||||||
from shell: mysql -u root -p
|
|
||||||
|
```sql
|
||||||
CREATE DATABASE bookstackapp;
|
CREATE DATABASE bookstackapp;
|
||||||
GRANT USAGE ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword';
|
GRANT USAGE ON *.* TO 'myuser'@'%' IDENTIFIED BY 'mypassword';
|
||||||
GRANT ALL privileges ON `bookstackapp`.* TO 'myuser'@%;
|
GRANT ALL privileges ON `bookstackapp`.* TO 'myuser'@%;
|
||||||
|
|
Ładowanie…
Reference in New Issue