summaryrefslogtreecommitdiff
path: root/support-files
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
commite52ca0f512df297ce9684efb41f04ea4fc2d88be (patch)
treef21b2848b1a05e96c8fc337d0cabf0625ebbde57 /support-files
parent86f3d77ba3aa7db5dcd8103ca094dbe7f50834bc (diff)
downloadmariadb-git-e52ca0f512df297ce9684efb41f04ea4fc2d88be.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')
-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