CGI::Wiki::Store::Database is a parent class for database storage backends for CGI::Wiki.
Can't see yet why you'd want to use the backends directly, but:
# See below for parameter details.
my $store = CGI::Wiki::Store::MySQL->new( %config );
my $store = CGI::Wiki::Store::MySQL->new( dbname => "wiki",
dbuser => "wiki",
dbpass => "wiki",
dbhost => "db.example.com",
charset => "iso-8859-1" );
my $store = CGI::Wiki::Store::MySQL->new( dbh => $dbh );
charset is optional, defaults to iso-8859-1, and does nothing unless you're using perl 5.8 or newer.
If you do not provide an active database handle in dbh, then dbname is mandatory. dbpass, dbuser and dbhost are optional, but you'll want to supply them unless your database's authentication method doesn't require it.
If you do provide database then it must have the following parameters set; otherwise you should just provide the connection information and let us create our own handle:
RaiseError = 1
PrintError = 0
AutoCommit = 1