pull/149/head
midoks 3 years ago
parent 391be0f52b
commit b697cb2d07
  1. 2
      plugins/mysql/conf/my8.0.cnf
  2. 1
      plugins/mysql/index.py

@ -8,7 +8,7 @@ default-character-set = UTF8MB4
[mysqld]
sha256_password_private_key_path=mysql.pem
sha256_password_public_key_path=mysql.pub
default_authentication_plugin=mysql_native_password
authentication_policy=mysql_native_password
pid-file = {$SERVER_APP_PATH}/data/mysql.pid
user = mysql

@ -188,6 +188,7 @@ def initDreplace(version=''):
if not os.path.exists(mysql_tmp):
os.mkdir(mysql_tmp)
mw.execShell("chown -R mysql:mysql " + mysql_tmp)
mw.execShell("chmod 750 " + mysql_tmp)
mysql_conf = mysql_conf_dir + '/my.cnf'
if not os.path.exists(mysql_conf):

Loading…
Cancel
Save