mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
up
This commit is contained in:
@@ -163,7 +163,7 @@ def initDreplace(version=''):
|
||||
|
||||
if mw.getOs() != 'darwin':
|
||||
mw.execShell('chown -R mysql mysql ' + getServerDir())
|
||||
return file_bin
|
||||
return 'ok'
|
||||
|
||||
|
||||
def status(version=''):
|
||||
@@ -324,8 +324,6 @@ def initMysql8Pwd():
|
||||
|
||||
def my8cmd(version, method):
|
||||
# mysql 8.0 and 5.7
|
||||
init_file = initDreplace(version)
|
||||
cmd = init_file + ' ' + method
|
||||
try:
|
||||
if version == '5.7':
|
||||
isInited = initMysql57Data()
|
||||
|
||||
@@ -9,6 +9,7 @@ serverPath=$(dirname "$rootPath")
|
||||
|
||||
|
||||
# cd /www/server/mdserver-web/plugins/mysql-ya && bash install.sh install 8.0
|
||||
# cd /www/server/mdserver-web && python3 /www/server/mdserver-web/plugins/mysql-ya/index.py start 8.0
|
||||
|
||||
install_tmp=${rootPath}/tmp/mw_install.pl
|
||||
|
||||
@@ -33,6 +34,6 @@ sh -x $curPath/versions/$2/install.sh $1
|
||||
|
||||
# if [ "${action}" == "install" ];then
|
||||
# #初始化
|
||||
# cd ${rootPath} && python3 ${rootPath}/plugins/mysql/index.py start ${type}
|
||||
# cd ${rootPath} && python3 ${rootPath}/plugins/mysql/index.py initd_install ${type}
|
||||
# cd ${rootPath} && python3 ${rootPath}/plugins/mysql-ya/index.py start ${type}
|
||||
# cd ${rootPath} && python3 ${rootPath}/plugins/mysql-ya/index.py initd_install ${type}
|
||||
# fi
|
||||
|
||||
Reference in New Issue
Block a user