Wiki source for MysqlOnMac
==== mysql on Mac OS X ====
== Installation on 10.6 (Snow Leopard) ==
- download [[http://www.mysql.de/downloads/mysql/ here]];
- install as described [[http://dev.mysql.com/doc/mysql-macosx-excerpt/5.5/en/macosx-installation-pkg.html here]]
== Configurations and info about mysql on mac ==
(after Installation as described above)
- path to all files - programms and databeses: ##/usr/local/mysql/...##
- especially data is here: ##/usr/local/mysql/data/##
== Administration ==
After installation of //MysqlStartItem// use this (from [[http://dev.mysql.com/doc/mysql-macosx-excerpt/5.5/en/macosx-installation-startupitem.html here]]:
//The Startup Item for MySQL is installed into ##/Library/StartupItems/MySQLCOM##. The Startup Item installation adds a variable ##MYSQLCOM=-YES-## to the system configuration file /etc/hostconfig. If you want to disable the automatic startup of MySQL, change this variable to ##MYSQLCOM=-NO-##.
Starting and stopping:
shell> sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
shell> sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
== Important step for working with PHP ==
http://superfancy.net/php-mysql-apache-in-mac-osx-leopard/
== Installation on 10.6 (Snow Leopard) ==
- download [[http://www.mysql.de/downloads/mysql/ here]];
- install as described [[http://dev.mysql.com/doc/mysql-macosx-excerpt/5.5/en/macosx-installation-pkg.html here]]
== Configurations and info about mysql on mac ==
(after Installation as described above)
- path to all files - programms and databeses: ##/usr/local/mysql/...##
- especially data is here: ##/usr/local/mysql/data/##
== Administration ==
After installation of //MysqlStartItem// use this (from [[http://dev.mysql.com/doc/mysql-macosx-excerpt/5.5/en/macosx-installation-startupitem.html here]]:
//The Startup Item for MySQL is installed into ##/Library/StartupItems/MySQLCOM##. The Startup Item installation adds a variable ##MYSQLCOM=-YES-## to the system configuration file /etc/hostconfig. If you want to disable the automatic startup of MySQL, change this variable to ##MYSQLCOM=-NO-##.
Starting and stopping:
shell> sudo /Library/StartupItems/MySQLCOM/MySQLCOM start
shell> sudo /Library/StartupItems/MySQLCOM/MySQLCOM stop
== Important step for working with PHP ==
http://superfancy.net/php-mysql-apache-in-mac-osx-leopard/