diff options
Diffstat (limited to 'databases/mariadb103-server/files/patch-scripts_mysqld__safe.sh')
-rw-r--r-- | databases/mariadb103-server/files/patch-scripts_mysqld__safe.sh | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/mariadb103-server/files/patch-scripts_mysqld__safe.sh b/databases/mariadb103-server/files/patch-scripts_mysqld__safe.sh new file mode 100644 index 000000000000..0c694bd3a30a --- /dev/null +++ b/databases/mariadb103-server/files/patch-scripts_mysqld__safe.sh @@ -0,0 +1,16 @@ +--- scripts/mysqld_safe.sh.orig 2017-05-24 09:15:23 UTC ++++ scripts/mysqld_safe.sh +@@ -568,11 +568,11 @@ fi + + if test -z "$MYSQL_HOME" + then +- if test -r "$DATADIR/my.cnf" ++ if test -r "$DATADIR/etc/my.cnf" + then + log_error "WARNING: Found $DATADIR/my.cnf + The data directory is not a valid location for my.cnf, please move it to +-$MY_BASEDIR_VERSION/my.cnf" ++$MY_BASEDIR_VERSION/etc/my.cnf" + fi + MYSQL_HOME=$MY_BASEDIR_VERSION + fi |