Add missing MySQL grant statements in production README
This commit is contained in:
parent
01ac06b096
commit
4ece586709
@ -120,7 +120,20 @@ You'll need 3 instances, one for each network. Build one at a time:
|
|||||||
|
|
||||||
Import historical mempool fee database snapshot, or the blank mariadb structure if none:
|
Import historical mempool fee database snapshot, or the blank mariadb structure if none:
|
||||||
```
|
```
|
||||||
|
mysql -u root
|
||||||
|
create database mempool;
|
||||||
|
grant all on mempool.* to 'mempool'@'localhost' identified by 'mempool';
|
||||||
|
create database tmempool;
|
||||||
|
grant all on tmempool.* to 'tmempool'@'localhost' identified by 'tmempool';
|
||||||
|
create database lmempool;
|
||||||
|
grant all on lmempool.* to 'lmempool'@'localhost' identified by 'lmempool';
|
||||||
|
```
|
||||||
|
|
||||||
|
Then import
|
||||||
|
```
|
||||||
mysql -u mempool -p mempool < /mempool/mempool/mariadb-structure.sql
|
mysql -u mempool -p mempool < /mempool/mempool/mariadb-structure.sql
|
||||||
|
mysql -u tmempool -p tmempool < /mempool/mempool/mariadb-structure.sql
|
||||||
|
mysql -u lmempool -p lmempool < /mempool/mempool/mariadb-structure.sql
|
||||||
```
|
```
|
||||||
|
|
||||||
### Mempool
|
### Mempool
|
||||||
|
Loading…
x
Reference in New Issue
Block a user