mirror of
https://github.com/acepanel/panel.git
synced 2026-02-04 17:17:13 +08:00
fix: 修复 MySQL 版本号未更新
This commit is contained in:
@@ -8,6 +8,6 @@ func init() {
|
||||
config := facades.Config()
|
||||
config.Add("panel", map[string]any{
|
||||
"name": "耗子Linux面板",
|
||||
"version": "v2.0.46",
|
||||
"version": "v2.0.47",
|
||||
})
|
||||
}
|
||||
|
||||
@@ -126,8 +126,15 @@ if [ "$?" != "0" ]; then
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# 设置权限
|
||||
chown -R mysql:mysql ${mysqlPath}
|
||||
chmod -R 755 ${mysqlPath}
|
||||
chmod 644 ${mysqlPath}/conf/my.cnf
|
||||
|
||||
# 启动服务
|
||||
systemctl daemon-reload
|
||||
systemctl enable mysqld
|
||||
|
||||
panel writePlugin mysql${1} ${mysqlVersion}
|
||||
|
||||
echo -e "${HR}\nMySQL-${1} 升级完成\n${HR}"
|
||||
|
||||
Reference in New Issue
Block a user