fix: allow native mysql beside isolated container
This commit is contained in:
parent
8af96d8aee
commit
c7ddd1a133
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user