Friday, September 30, 2005
Getting root in MAC OS X
MySQL Reference Manual :: 2.5 Installing MySQL on Mac OS X: "Log in as root. You have to enable root user for MacOSX. To do so, launch NetInfo Manager (living under Applications>Utilities). Pull down Security>Authenticate and then Security>Enable Root User.
shell> cd /Library/Receipts
find the mysql-.pkg file and delete it.
shell> rmdir mysql-standard-4.0.12.pkg
Log out as yourself, and log in as root.
Reinstall from the mysql-standard-4.0.12.pkg
This time when you install from the package, the last button in the installation process will say 'Install' instead of 'Upgrade'.
Finish the installation, and follow the instruction from the web:
http://www.mysql.com/doc/en/Mac_OS_X_installation.html
Ignore the instructions that come with the ReadMe.txt file!
That is:
shell> cd /usr/local/mysql
shell> sudo ./bin/mysqld_safe
Password: myrootpassword
ctrl-z
bg"
shell> cd /Library/Receipts
find the mysql-
shell> rmdir mysql-standard-4.0.12.pkg
Log out as yourself, and log in as root.
Reinstall from the mysql-standard-4.0.12.pkg
This time when you install from the package, the last button in the installation process will say 'Install' instead of 'Upgrade'.
Finish the installation, and follow the instruction from the web:
http://www.mysql.com/doc/en/Mac_OS_X_installation.html
Ignore the instructions that come with the ReadMe.txt file!
That is:
shell> cd /usr/local/mysql
shell> sudo ./bin/mysqld_safe
Password: myrootpassword
ctrl-z
bg"