From 843d09fb6d3e7b3c4eb2b77c2530dc7d2e57eb59 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Sat, 7 Mar 2020 05:55:11 +0530 Subject: [PATCH] fix: development README for MariaDB setup --- development/README.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/development/README.md b/development/README.md index c7d78071..8f69c03c 100644 --- a/development/README.md +++ b/development/README.md @@ -98,10 +98,9 @@ mysql -uroot -p123 -hmariadb Execute following queries ```sql -UPDATE mysql.user SET Host = '%' where User = 'db_name'; -SET PASSWORD FOR 'db_name'@'%' = PASSWORD('db_password'); -GRANT ALL PRIVILEGES ON `db_name`.* TO 'db_name'@'%'; -FLUSH PRIVILEGES; +UPDATE mysql.user SET Host = '%' where User = 'db_name'; FLUSH PRIVILEGES; +SET PASSWORD FOR 'db_name'@'%' = PASSWORD('db_password'); FLUSH PRIVILEGES; +GRANT ALL PRIVILEGES ON `db_name`.* TO 'db_name'@'%'; FLUSH PRIVILEGES; ``` ### Visual Studio Code Python Debugging