mirror of
https://github.com/mempool/mempool.git
synced 2026-08-13 12:33:11 +02:00
Add missing MySQL grant statements in production README
This commit is contained in:
parent
01ac06b096
commit
4ece586709
1 changed files with 13 additions and 0 deletions
|
|
@ -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:
|
||||
```
|
||||
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 tmempool -p tmempool < /mempool/mempool/mariadb-structure.sql
|
||||
mysql -u lmempool -p lmempool < /mempool/mempool/mariadb-structure.sql
|
||||
```
|
||||
|
||||
### Mempool
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue