Skip to content

Instantly share code, notes, and snippets.

@myfinder
Created December 8, 2009 08:55
Show Gist options
  • Save myfinder/251531 to your computer and use it in GitHub Desktop.
Save myfinder/251531 to your computer and use it in GitHub Desktop.
my $schema = MyAPP::Schema->connect(
'dbi:mysql:myapp_devel;host=localhost;',
'root',
'',
{
AutoCommit => 1,
RaiseError => 1,
PrintError => 1,
RootClass => 'DBIx::Encoding',
encoding => 'cp932',
}
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment