From ca220a21fb9edd69df2c57150ac15cd756240b43 Mon Sep 17 00:00:00 2001 From: Christoph Date: Tue, 5 Jul 2022 18:46:40 +0200 Subject: [PATCH] create_database.sh: add (new) sovjket location '/run/mysqld/'. --- create_database.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/create_database.sh b/create_database.sh index 9e2acab..0ee4722 100755 --- a/create_database.sh +++ b/create_database.sh @@ -623,6 +623,8 @@ else || ( [[ $MAJOR_VERSION -eq 10 ]] && [[ $MINOR_VERSION -gt 3 ]] )) ; then if [[ -S "/tmp/mysql.sock" ]]; then MYSQL_CREDENTIAL_ARGS="-u root -S /tmp/mysql.sock" + elif [[ -S "/run/mysqld/mysqld.sock" ]]; then + MYSQL_CREDENTIAL_ARGS="-u root -S /run/mysqld/mysqld.sock" elif [[ -S "/var/run/mysqld/mysqld.sock" ]]; then MYSQL_CREDENTIAL_ARGS="-u root -S /var/run/mysqld/mysqld.sock" else