From c2c09400da0494582d7cb46ac9f51a87a97c2cc9 Mon Sep 17 00:00:00 2001 From: Revant Nandgaonkar Date: Mon, 2 Mar 2020 05:08:49 +0530 Subject: [PATCH] fix: use commonly known variable for MYSQL_ROOT_PASSWORD --- build/common/commands/new.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/common/commands/new.py b/build/common/commands/new.py index ebf029b9..b87641db 100644 --- a/build/common/commands/new.py +++ b/build/common/commands/new.py @@ -4,7 +4,7 @@ from frappe.commands.site import _new_site site_name = os.environ.get("SITE_NAME", 'site1.localhost') mariadb_root_username = os.environ.get("DB_ROOT_USER", 'root') -mariadb_root_password = os.environ.get("DB_ROOT_PASSWORD", 'admin') +mariadb_root_password = os.environ.get("MYSQL_ROOT_PASSWORD", 'admin') force = True if os.environ.get("FORCE", None) else False install_apps = ['erpnext'] if os.environ.get("INSTALL_ERPNEXT", None) else False frappe.init(site_name, new_site=True)