fix: allow native mysql beside isolated container

This commit is contained in:
tsiji 2026-07-23 14:45:27 +08:00
parent 8af96d8aee
commit c7ddd1a133

View File

@ -13,11 +13,6 @@ if [[ ! -s $config_file ]]; then
exit 2
fi
if pgrep -x mysqld >/dev/null; then
echo "mysqld is already running; refusing to modify this host" >&2
exit 1
fi
if ss -ltnH 'sport = :3306' | grep -q .; then
echo "TCP port 3306 is already in use; refusing to continue" >&2
exit 1