summaryrefslogtreecommitdiff
path: root/support-files/MacOSX
diff options
context:
space:
mode:
authorlenz@mysql.com <>2003-05-12 17:09:31 +0200
committerlenz@mysql.com <>2003-05-12 17:09:31 +0200
commit07238bab28f4fc739186259ce3590944fd153f3f (patch)
treef21b2848b1a05e96c8fc337d0cabf0625ebbde57 /support-files/MacOSX
parent9ec42178e9755a021ba5ea6509c60e551f409b85 (diff)
downloadmariadb-git-07238bab28f4fc739186259ce3590944fd153f3f.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