appstore-1panel/apps/mysql/8.4.3/scripts/upgrade.sh
renovate[bot] 8d983b0bee
chore(deps): update mysql docker tag (#2307)
* chore(deps): update mysql docker tag

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2024-10-18 12:07:27 +08:00

9 lines
213 B
Bash

#!/bin/bash
CONFIG_FILE="./conf/my.cnf"
if grep -q "skip-host-cache" "$CONFIG_FILE"; then
sed -i '/skip-host-cache/d' "$CONFIG_FILE"
else
echo "'skip-host-cache' does not exist in the configuration file."
fi