From 73353aed3f429aee4b8dbb26ee57c468a3c1f565 Mon Sep 17 00:00:00 2001 From: sb745 Date: Wed, 5 Mar 2025 00:17:30 +0200 Subject: [PATCH] Updated database instructions --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index b00ea62..347f911 100644 --- a/README.md +++ b/README.md @@ -41,10 +41,10 @@ pyenv eases the use of different Python versions, and as not all Linux distros o - Enable `USE_MYSQL` flag in config.py - Install MariaDB by following instructions [here](https://downloads.mariadb.org/mariadb/repositories/) - Run the following commands logged in as your root db user (substitute for your own `config.py` values if desired): - - `CREATE USER 'test'@'localhost' IDENTIFIED BY 'test123';` - - `GRANT ALL PRIVILEGES ON *.* TO 'test'@'localhost';` - - `FLUSH PRIVILEGES;` + - `CREATE USER 'nyaauser'@'localhost' IDENTIFIED BY 'nyaapass';` - `CREATE DATABASE nyaav3 DEFAULT CHARACTER SET utf8 COLLATE utf8_bin;` + - `GRANT ALL PRIVILEGES ON nyaav3.* TO 'nyaauser'@'localhost';` + - `FLUSH PRIVILEGES;` ### Finishing up - Run `python db_create.py` to create the database and import categories