From e2eb02f9a7854dede489878da66cceee9917adc2 Mon Sep 17 00:00:00 2001 From: Ben Date: Thu, 6 May 2010 15:12:18 -0400 Subject: [PATCH] thrasherbird.pl: Add an example for the DBI backend configuration. --- perl/thrasherbird.pl | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/perl/thrasherbird.pl b/perl/thrasherbird.pl index 78cecc7..94422e0 100644 --- a/perl/thrasherbird.pl +++ b/perl/thrasherbird.pl @@ -28,9 +28,20 @@ ## The "Test" backend; can be used to test the system, but won't # permanently store any data! -# $backend = Test; +# $backend = 'Test'; # $backend_configuration = {}; +# Example for the DBI backend: +# $backend = 'DBI'; +# $backend_configuration = { +# dbi_data_source => 'dbi:mysql:thrasher', +# username => 'mysqluser', +# password => 'mysqlpass', +# db_driver => 'mysql_innodb', +# database_name => 'thrasher', +# transport_name => 'someprotocol.transport', +# }; + ####### ## PROTOCOL ####### -- 2.11.4.GIT