This commit is contained in:
2026-04-09 14:47:35 +08:00
parent f6eb48fc91
commit 431dd2ab36
23 changed files with 313 additions and 25 deletions

View File

@@ -47,7 +47,7 @@ function Init {
&& THP_SETTING=never \
|| Print Failed to disable THP, consider privileged container.
rm -f ${SOCK_FILE}* ${PID_FILE}
chown -R mysql:mysql $LOG_DIR $BINLOG_DIR $DATA_DIR
chown -R mysql:mysql $LOG_DIR $BINLOG_DIR $DATA_DIR $(dirname $SOCK_FILE)
chmod 0750 $LOG_DIR
if [ ! -d "$DATA_DIR/mysql" ]; then
Print Initing greatsql db files ...