diff options
author | ale <ale@FreeBSD.org> | 2004-03-12 18:36:57 +0800 |
---|---|---|
committer | ale <ale@FreeBSD.org> | 2004-03-12 18:36:57 +0800 |
commit | 90c8233edac8ef7a20f180c51baa2b8b4dd5a6d0 (patch) | |
tree | a79bde7919b79e79c71ac0c3f5455b2ca8093750 /databases/mysql55-server/files | |
parent | 97fa5f1341726684e42e4840c86438388e5b7d0d (diff) | |
download | freebsd-ports-gnome-90c8233edac8ef7a20f180c51baa2b8b4dd5a6d0.tar.gz freebsd-ports-gnome-90c8233edac8ef7a20f180c51baa2b8b4dd5a6d0.tar.zst freebsd-ports-gnome-90c8233edac8ef7a20f180c51baa2b8b4dd5a6d0.zip |
Fix a never-catched bug in mysql_install_db script.
Now the SKIP_DNS_CHECK knob is pointless.
Diffstat (limited to 'databases/mysql55-server/files')
-rw-r--r-- | databases/mysql55-server/files/patch-scripts::mysql_install_db.sh | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/databases/mysql55-server/files/patch-scripts::mysql_install_db.sh b/databases/mysql55-server/files/patch-scripts::mysql_install_db.sh new file mode 100644 index 000000000000..1ccb78b2925a --- /dev/null +++ b/databases/mysql55-server/files/patch-scripts::mysql_install_db.sh @@ -0,0 +1,22 @@ +--- scripts/mysql_install_db.sh.orig Thu Mar 11 10:20:57 2004 ++++ scripts/mysql_install_db.sh Thu Mar 11 10:27:09 2004 +@@ -118,7 +118,7 @@ + if [ $? -ne 0 ] + then + resolved=`$bindir/resolveip localhost 2>&1` +- if [ $? -eq 0 ] ++ if [ $? -ne 0 ] + then + echo "Neither host '$hostname' and 'localhost' could not be looked up with" + echo "$bindir/resolveip" +@@ -128,8 +128,8 @@ + exit 1 + fi + echo "WARNING: The host '$hostname' could not be looked up with resolveip." +- echo "This probably means that your libc libraries are not 100 % compatible" +- echo "with this binary MySQL version. The MySQL daemon, mysqld, should work" ++ echo "This probably means that your host name is not listed in your" ++ echo "/etc/hosts file (as it should). The MySQL daemon, mysqld, should work" + echo "normally with the exception that host name resolving will not work." + echo "This means that you should use IP addresses instead of hostnames" + echo "when specifying MySQL privileges !" |