On versions before 10.4.7, the default configuration of MySQL on Mac OS X Server reduced the memory footprint of the database service at the cost of server performance. With version 10.4.7 and later, MySQL on Mac OS X Server creates a my.cnf file from an included configuration file which significantly increases performance at the cost of increased memory usage. (Note: an existing version of the my.cnf file will not be destroyed by the upgrade, but it will not be upgraded either.)
For sites running older versions of Mac OS X Server, MySQL performance may be increased by following the steps below, according to the amount of RAM in the server.
To improve MySQL performance, follow the steps below, according to the amount of RAM in the server.
sudo cp /usr/share/mysql/my-large.cnf /etc/my.cnf
skip-thread-priority
sudo cp /usr/share/mysql/my-huge.cnf /etc/my.cnf
skip-thread-priority
For sites with an existing my.cnf file, Apple recommends the administrator compare their current settings with those documented in one of the above existing sample configuration files and update as necessary.