readme.databases moved to wiki

git-svn-id: https://beef.googlecode.com/svn/trunk@1423 b87d56ec-f9c0-11de-8c8a-61c5e9addfc9
This commit is contained in:
wade@bindshell.net
2011-11-08 10:45:18 +00:00
parent dbcaa3a149
commit 60a48931cd

View File

@@ -1,30 +0,0 @@
MySQL Notes:
* It's recommended to install MySQL >= 5.5.x
* Your system will require MySQL, MySQL-Server, MySQL-Devel and Ruby's MySQL libraries installed
* You will also need to "sudo gem install dm-mysql-adapter"
* UTF8 notes. Update/Add in my.cnf (or my.ini on Win) the following. Then save and reboot MySQL.
- Read more here: http://cameronyule.com/2008/07/configuring-mysql-to-use-utf-8
[mysql]
default-character-set=utf8
[mysqld]
character-set-server=utf8
collation-server=utf8_general_ci
init-connect='SET NAMES utf8'
[client]
default-character-set=utf8
* Please note that the db must exists. Schema will be created automatically.
mysql> CREATE DATABASE beef CHARACTER SET utf8 COLLATE utf8_general_ci;
mysql> grant all privileges on beef.* to 'beef'@'localhost' identified by 'beef123';
Postgres Notes
* You will need to install the postgresql package as well as the libpq-dev package
* You will need to "sudo gem install dm-postgres-adapter"
* As the postgres user:
- createuser -P beef
- createdb --owner=beef beef
* you may also need to change the pg_hba.conf file in /etc/postgresql so that the local all all optionis labeled as either trust or md5