mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
up
This commit is contained in:
@@ -278,6 +278,9 @@ def initMysql57Data():
|
||||
data = mw.execShell(cmd)
|
||||
# print(cmd)
|
||||
# print(data)
|
||||
|
||||
if not mw.isAppleSystem():
|
||||
mw.execShell('chown -R mysql:mysql ' + datadir)
|
||||
return False
|
||||
return True
|
||||
|
||||
|
||||
@@ -9,6 +9,7 @@ export DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
# debug
|
||||
# cd /www/server/mdserver-web/plugins/mysql-apt && bash install.sh install 8.0
|
||||
# /www/server/mysql-apt/bin/usr/sbin/mysqld --defaults-file=/www/server/mysql-apt/etc/my.cnf --daemonize
|
||||
|
||||
curPath=`pwd`
|
||||
rootPath=$(dirname "$curPath")
|
||||
|
||||
Reference in New Issue
Block a user