readme: flesh out db creation
This commit is contained in:
parent
eded0376eb
commit
b2b2cca2cf
|
@ -4,11 +4,13 @@ This script automates installing Wordpress with all specific BIJ1 plugins,
|
|||
template and Advanced Custom Fields settings.
|
||||
|
||||
Steps:
|
||||
- First you have to setup a database, e.g. for MariaDB/MySQL:
|
||||
- First you have to setup a database, e.g. for MariaDB/MySQL (substituting `$WORDPRESS_DB_USER`, `$db`, `$password`):
|
||||
- ```sql
|
||||
CREATE USER '$WORDPRESS_DB_USER'@'localhost' IDENTIFIED BY '$password';
|
||||
FLUSH PRIVILEGES;
|
||||
DROP DATABASE IF EXISTS $db;
|
||||
CREATE DATABASE $db CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci;
|
||||
GRANT ALL PRIVILEGES ON $db.* TO '$WORDPRESS_DB_USER';
|
||||
GRANT ALL PRIVILEGES ON $db.* TO '$WORDPRESS_DB_USER'@'localhost';
|
||||
```
|
||||
- Start the installer by running `./install.sh` in your web folder.
|
||||
- Note down the bij1admin password that's generated during installation.
|
||||
|
|
Loading…
Reference in New Issue