Buy this Reference Manual in softcover from Barnes & Noble!
На общедоступной бета-версии Mac OS X (Darwin) MySQL должен работать без каких-либо проблем. Для этой операционной системы нет необходимости в патчах к pthread!
* tested under Mac OS X 10.2.1 * the INSTALL-BINARY file says that you should create a "mysql" user and group. In 10.2.1, this user and group already exist, you don't need to create them, but you can't log in with "mysql". * starting MySQL automatically at boot * from http://cerebus.sandiego.edu/~jerry/UnixTips/mysql.h tml: In /usr/share/mysql is a script called mysql.server. This is your startup (and shutdown) script for mysql. Before you use it, you need to tell it where your database files are. (It does not look in /etc/my.cnf.) In the section that says Set some defaults change the datadir= line to read: datadir=/Users/mysql/Documents/data You can now start and stop your sql server (assuming you have databases) with: /usr/share/mysql/mysql.server start /usr/share/mysql/mysql.server stop To have it start up automatically, you need to copy the startup script to /Library/StartupItems: cd /Library sudo mkdir StartupItems cd StartupItems sudo mkdir mysql cd mysql sudo cp /usr/share/mysql/mysql.server mysql sudo pico -w StartupParameters.plist { Description = "MySQL Server"; Provides = ("mysqld"); Requires = ("Resolver", "Network"); OrderPreference = "Late"; Messages = { start = "Starting MySQL Database Server"; stop = "Stopping MySQL Database Server"; }; } It works.
Add your own comment.