diff --git a/README.md b/README.md index 621fb4a06..b79bd5c6f 100644 --- a/README.md +++ b/README.md @@ -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: