ports/databases/mariadb102-server/files/patch-scripts_mysqld__safe.sh
Bernard Spil 302d685ac6 databases/mariadb102-server: Add MariaDB 10.2 ports
- Add mariadb102-client port
 - Add RocksDB storage engine
 - Add non-base page compressors
 - First sweep at making cmake patches upstreamable
2017-05-28 20:52:49 +00:00

16 lines
446 B
Bash

--- 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