Update README.md

This commit is contained in:
~timluc-miptev 2021-01-11 20:44:45 +02:00 committed by GitHub
parent 4694a31f55
commit 3e09755c47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -62,6 +62,16 @@ From the mempool repo's top-level folder, import the database structure:
mysql -u mempool -p mempool < mariadb-structure.sql
```
### Troubleshooting
On Mac, you may need to run the following command if the above gives an error:
```bash
MariaDB [(none)]> grant all privileges on mempool.* to 'mempool'@localhost identified by 'mempool';
```
followed by:
```bash
mariadb -u mempool -pmempool mempool < mariadb-structure.sql
```
## Mempool Backend
Install mempool dependencies from npm and build the backend: