Skip to content

@pat /my.cnf
Created

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
.DS_Store
Snow Leopard Setup Sources and Notes
MySQL:
http://hivelogic.com/articles/compiling-mysql-on-snow-leopard/
Notes:
- Set root password:
mysqladmin -u root password PASSWORD
- Add /etc/my.cnf
- CREATE DATABASE thinking_sphinx;
- GRANT ALL ON thinking_sphinx.* TO 'thinking_sphinx'@'localhost';
- SET PASSWORD FOR 'thinking_sphinx'@'localhost' = PASSWORD('password');
- FLUSH PRIVILEGES;
- sudo env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config
PostgreSQL:
http://devoh.com/posts/2008/10/installing-postgresql-on-mac-os-x-10.5-leopard
http://devoh.com/posts/2009/08/postgresql-snow-leopard
Notes:
- using v8.4.0
- instead of postgres gem:
sudo env ARCHFLAGS="-arch x86_64" gem install pg
Sphinx:
http://freelancing-god.github.com/ts/en/installing_sphinx.html
Notes:
- ./configure --with-pgsql
Git:
http://hivelogic.com/articles/compiling-git-on-snow-leopard/
[mysqld]
init_connect='SET collation_connection = utf8_general_ci'
init_connect='SET NAMES utf8'
default-character-set=utf8
character-set-server = utf8
collation-server = utf8_general_ci
[mysql]
default-character-set=utf8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.