mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-18 23:45:52 +08:00
优化修改
1.mysql修改备注 2.修改版本号 3.mysql迁移功能 4.选择文件优化
This commit is contained in:
@@ -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):
|
||||
|
||||
Reference in New Issue
Block a user