diff --git a/plugins/mariadb/conf/my.cnf b/plugins/mariadb/conf/my.cnf index 651aff4e5..4fd989170 100644 --- a/plugins/mariadb/conf/my.cnf +++ b/plugins/mariadb/conf/my.cnf @@ -1,13 +1,13 @@ [client] user = root #password = your_password -port = 3306 +port = 33106 socket = {$SERVER_APP_PATH}/mysql.sock [mysqld] pid-file = {$SERVER_APP_PATH}/data/mysql.pid user = mysql -port = 3306 +port = 33106 socket = {$SERVER_APP_PATH}/mysql.sock basedir = {$SERVER_APP_PATH} datadir = {$SERVER_APP_PATH}/data diff --git a/plugins/mariadb/index.py b/plugins/mariadb/index.py index 42080eed1..30180a866 100755 --- a/plugins/mariadb/index.py +++ b/plugins/mariadb/index.py @@ -315,7 +315,7 @@ def initMysqlData(): serverdir = getServerDir() myconf = serverdir + "/etc/my.cnf" user = pGetDbUser() - cmd = 'cd ' + serverdir + ' && ./scripts/mysql_install_db --defaults-file=' + myconf + cmd = 'cd ' + serverdir + ' && ./scripts/mariadb-install-db --defaults-file=' + myconf data = mw.execShell(cmd) # print(data) return False