|
|
@ -164,6 +164,7 @@ def initDreplace(version=''): |
|
|
|
mysql_tmp = getServerDir() + '/tmp' |
|
|
|
mysql_tmp = getServerDir() + '/tmp' |
|
|
|
if not os.path.exists(mysql_tmp): |
|
|
|
if not os.path.exists(mysql_tmp): |
|
|
|
os.mkdir(mysql_tmp) |
|
|
|
os.mkdir(mysql_tmp) |
|
|
|
|
|
|
|
mw.execShell("chown mysql:mysql " + mysql_tmp) |
|
|
|
|
|
|
|
|
|
|
|
mysql_conf = mysql_conf_dir + '/my.cnf' |
|
|
|
mysql_conf = mysql_conf_dir + '/my.cnf' |
|
|
|
if not os.path.exists(mysql_conf): |
|
|
|
if not os.path.exists(mysql_conf): |
|
|
@ -485,7 +486,6 @@ def reload(version=''): |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def initdStatus(): |
|
|
|
def initdStatus(): |
|
|
|
if not app_debug: |
|
|
|
|
|
|
|
if mw.isAppleSystem(): |
|
|
|
if mw.isAppleSystem(): |
|
|
|
return "Apple Computer does not support" |
|
|
|
return "Apple Computer does not support" |
|
|
|
|
|
|
|
|
|
|
|