From 6d7d1ede0aa463d07152ab207be4361956efa66b Mon Sep 17 00:00:00 2001 From: Usman Nasir Date: Fri, 11 Feb 2022 19:05:26 +0500 Subject: [PATCH] install --- install/install.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/install/install.py b/install/install.py index a8c19b639..3268e8b21 100755 --- a/install/install.py +++ b/install/install.py @@ -397,10 +397,10 @@ class preFlightsChecks: # reference: https://oracle-base.com/articles/mysql/mysql-password-less-logins-using-option-files mysql_my_root_cnf = '/root/.my.cnf' mysql_root_cnf_content = """ - [client] - user=root - password="%s" - """ % password +[client] +user=root +password="%s" +""" % password with open(mysql_my_root_cnf, 'w') as f: f.write(mysql_root_cnf_content)