Update index.py

pull/109/head
midoks 3 years ago
parent cc7a3fe959
commit c0a39faced
  1. 2
      plugins/mysql/index.py

@ -328,7 +328,7 @@ def initMysql8Pwd():
# with mysql_native_password # with mysql_native_password
alter_root_pwd = "flush privileges;" alter_root_pwd = "flush privileges;"
alter_root_pwd = alter_root_pwd + \ alter_root_pwd = alter_root_pwd + \
"alter user 'root'@'localhost' identified by '" + pwd + "';" "alter user 'root'@'localhost' IDENTIFIED WITH mysql_native_password by '" + pwd + "';"
alter_root_pwd = alter_root_pwd + "flush privileges;" alter_root_pwd = alter_root_pwd + "flush privileges;"
# r = dbcurr.execute(alter_root_pwd) # r = dbcurr.execute(alter_root_pwd)
tmp_file = "/tmp/mysql_init_tmp.log" tmp_file = "/tmp/mysql_init_tmp.log"

Loading…
Cancel
Save