Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SQLite を使用する際のconfig のサンプルを記入した #71

Merged
merged 1 commit into from
Mar 24, 2013
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion config.pl.sample
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -47,12 +47,14 @@ use strict;


'database' => { 'database' => {
'connect_info' => [ 'connect_info' => [
'dbi:mysql:database=name', 'user', 'password', 'dbi:mysql:database=name', 'user', 'password',
{ {
mysql_enable_utf8 => 1 , mysql_enable_utf8 => 1 ,
mysql_auto_reconnect => 1, mysql_auto_reconnect => 1,
RaiseError => 1, RaiseError => 1,
} }
# SQLite を使用したい場合は、上のMySQL 関連の設定を削除してから以下のコメントを解除して使用して下さい
# 'dbi:SQLite:database=name'
], ],
}, },
'message_log_limit' => 100, # タグ毎のログ数 'message_log_limit' => 100, # タグ毎のログ数
Expand Down