summaryrefslogtreecommitdiff
path: root/support-files/MacOSX
diff options
context:
space:
mode:
authorunknown <lenz@mysql.com>2003-05-12 17:09:31 +0200
committerunknown <lenz@mysql.com>2003-05-12 17:09:31 +0200
commit9cbcdfa26a67a2fed3fe3018c66ac15be978ccca (patch)
treef21b2848b1a05e96c8fc337d0cabf0625ebbde57 /support-files/MacOSX
parentce50dd42d8e5375942e0f9b23fff002ba3a054e9 (diff)
downloadmariadb-git-9cbcdfa26a67a2fed3fe3018c66ac15be978ccca.tar.gz
- On Mac OS X, better call mysql_install_db with "-IN-RPM" during
the installation to make sure the privilege tables are being installed even if the DNS configuration is broken, which seems to be quite common (reverse lookups to "hostname" fail). This should resolve the problem many Mac OS users experience ("Fatal error: Can't open privilege tables: Table 'mysql.host' doesn't exist") when they try to start MySQL after installing the PKG.
Diffstat (limited to 'support-files/MacOSX')
-rw-r--r--support-files/MacOSX/postinstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/support-files/MacOSX/postinstall.sh b/support-files/MacOSX/postinstall.sh
index daaf10bda8f..f46f4480e3e 100644
--- a/support-files/MacOSX/postinstall.sh
+++ b/support-files/MacOSX/postinstall.sh
@@ -10,7 +10,7 @@
if cd @prefix@ ; then
if [ ! -f data/mysql/db.frm ] ; then
- ./scripts/mysql_install_db
+ ./scripts/mysql_install_db -IN-RPM
fi
if [ -d data ] ; then