优化修改

1.mysql修改备注
2.修改版本号
3.mysql迁移功能
4.选择文件优化
This commit is contained in:
midoks
2019-03-14 02:07:39 +08:00
parent 26120018c6
commit 0ee24a763a
7 changed files with 151 additions and 53 deletions
+2 -2
View File
@@ -57,9 +57,9 @@ echo "The root password set ${pwd} successuful"'''
os.system("/bin/bash mysql_root.sh " + password)
os.system("rm -f mysql_root.sh")
result = sql.table('config').where(
pos = public.getServerDir() + '/mysql'
result = sql.table('config').dbPos(pos, 'mysql').where(
'id=?', (1,)).setField('mysql_root', password)
print(result)
def set_panel_pwd(password, ncli=False):