- 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.
This commit is contained in:
parent
ce50dd42d8
commit
9cbcdfa26a
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user