summaryrefslogtreecommitdiff
path: root/databases/mariadb103-server/files/patch-scripts_mysqld__safe.sh
blob: 0c694bd3a30a301b8a89039e14d3f0cc86ed6334 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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