Skip to content

Commit

Permalink
Updated mysql syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
jhoenicke committed May 11, 2021
1 parent e9e76f3 commit c769dbf
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Expand Up @@ -34,8 +34,10 @@ webinterface won't work.
mysql_secure_installation
mysql -u root -p <<EOF
create database btc_mempool;
grant all privileges on btc_mempool.* TO 'mempool'@'localhost' identified by '<secret password>';
grant select on btc_mempool.* TO 'www'@'localhost' identified by '<redacted>';
create user 'mempool'@'localhost' identified by '<secret password>';
create user 'www'@'localhost' identified by '<redacted>';
grant all privileges on btc_mempool.* TO 'mempool'@'localhost';
grant select on btc_mempool.* TO 'www'@'localhost';
EOF
cat > ~/.my.cnf <<EOF
[client]
Expand Down

0 comments on commit c769dbf

Please sign in to comment.