I run it on Parallels 3.0 on my OS X Leopard Mac since I do not have a PC.
..... and I still despise Internet Explorer. Give me Firefox or Safari any day.
# Basic minimal /etc/my.cnf config for a 2GB RAM Mac Mini
# running MySQL 5.0+ and WebObjects on OS X
# The following settings result in about 512MB of Real Memory usage by MySQL
[mysqld]
# ======= BEGIN GLOBAL SETTINGS =============
socket = /tmp/mysql.sock
# This variable should be as big as the biggest BLOB value we plan to use
max_allowed_packet = 20M
# The max number of opened tables for all threads
table_cache = 256
# This is buffer allocated by threads for sorting. Improves performance
# of ORDER BY and GROUP BY operations
sort_buffer_size = 16M
# This is a buffer used for sequential table scans (I guess where an index
# is not used for a search ... may help scans that create new indexes aswell KK 05092005)
read_buffer_size = 20M
# Number of threads to keep available for use
# Not really important for our situation where we use applications with persistent connections
# For a dedicated mysql server, 8 at least is recommended.
thread_cache_size = 4
# No query cache since we already use EOF in WebObjects
query_cache_type = 0
query_cache_size = 0
# New tables are innodb unless specified otherwise (Before MySQL 4.1.2 use default-table-type)
default-storage-engine=innodb
# ======= BEGIN MYISAM SETTINGS ===================================================
# Size of the Key Buffer, used to cache index blocks for MyISAM tables.
# Do not set it larger than 30% of your available memory, as some memory
# is also required by the OS to cache rows. Even if you're not using
# MyISAM tables, you should still set it to 8-64M as it will also be
# used for internal temporary disk tables.
# Ideally key_buffer (aka key_buffer_size) should be as large as we can afford and
# ideally should be equal to the sum of all .MYI files' sizes.
# This is one of the most important performance tuning variables for queries that use indexes
key_buffer_size = 64M
# Buffer for REPAIR TABLE or CREATE INDEX operations on MyISAM tables
myisam_sort_buffer_size = 16M
# ======= BEGIN INNODB SETTINGS ===================================================
# Create a separate idb file per table
innodb_file_per_table
# Buffer for innodb index and table cache performance - important!
innodb_buffer_pool_size = 364M
# MySQL creates 2 files on disk using this setting - important!
# Changing this after the first start requires a special procedure!
innodb_log_file_size = 128M
innodb_log_buffer_size = 8M
# Rollback the full transaction on timeout. Need this in MySQL 5.0+
innodb_rollback_on_timeout
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>Label</key>
<string>com.mysql.MySQL</string>
<key>OnDemand</key>
<false/>
<key>ProgramArguments</key>
<array>
<string>/usr/local/mysql/bin/mysqld_safe</string>
</array>
<key>ServiceDescription</key>
<string>Mysql Database Server</string>
<key>UserName</key>
<string>mysql</string>
<key>WorkingDirectory</key>
<string>/usr/local/mysql</string>
</dict>
</plist>
launchctl load com.mysql.MySQL.plist
cd /usr/local/mysql/bin
./mysql -u root -p
grant all on *.* to root@localhost identified by 'password' with grant option;
exit
./mysql -u root -p
use mysql;
delete from user where user = '';
flush privileges;
PATH="/usr/local/mysql/bin:"${PATH}
export PATH
$ cd /usr/bin
$ sudo rm mysql*
$ sudo rm myisam*
<wo:ERXStyleSheet href = "/lcwr/css/wkgeneric.css" />
<wo:ERXStyleSheet filename = "wkgeneric.css" />
<wo:ERXStyleSheet filename = "wkgeneric.css" framework = "MyFramework" />
<wo:ERXStyleSheet key = "developmentgrid">
#bd {
background-color: none;
background: url(/lcwr/css/src/grid.png);
}
wo:ERXStyleSheet>