Mac OS X: MySQL installation

1) Download the current stable version of FREE MySQL Community Server
http://dev.mysql.com/downloads/mysql/5.1.html
(DMG package version):
http://dev.mysql.com/downloads/mysql/5.1.html#macosx-dmg
you have to log in with you email:
http://dev.mysql.com/get/Downloads/MySQL-5.1/mysql-5.1.39-osx10.5-x86.dmg/from/pick
FTP
2) Copy the DMG to /opt/mysql/mysql-5.1.39-osx10.5-x86.dmg
3) Shutdown any previous MySQL using command: mysqladmin shutdown
4) Double-click on .pkg and follow standard installation
At this point you have it installed:
Uki@(Thu Oct 01 11:23:39) /usr/local $ ls -alt
lrwxr-xr-x 1 root wheel 24 Oct 1 11:22 mysql -> mysql-5.1.39-osx10.5-x86
drwxr-xr-x 17 root wheel 578 Sep 4 14:15 mysql-5.1.39-osx10.5-x86
5) Run MySQLStartupItem.pkg to have mySQL start automatically.
6) Doble-click the MySQL.prefPane to have it in your "System Preferences"

No comments:

Post a Comment