Basically I just need mysql for the blogging software (wordpress). But it’s also a good reference to compare with Postgres used by Alashan. Therefore I just installed the software with basic configuration.
- Download prebuild binary distribution for MacOS.
The current download package I installed was mysql-5.1.41-osx10.5-x86. - Install the prebuild package
Installation directory is /usr/local
the mysql user account is preinstalled on leopard - Configure mysql basic settings
$ mysqladmin -u root -password password # root/pasword - System Startup Integration with launchd
put the file com.mysql.mysqld.plist into /Library/LauchDaemons
$ sudo chmod root.wheel /Library/LaunchDaemons/org.mysql.mysqld.plist
$ sudo chmod 744 /Library/LaunchDaemons/org.mysql.mysqld.plist
sudo launchctl [load|unload|list] /Library/LaunchDaemons
sudo launchctl [start|stop] org.mysql.mysqld