diff --git a/production/README.md b/production/README.md index 5529ad766..ee21c165e 100644 --- a/production/README.md +++ b/production/README.md @@ -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