1DBIx::Class::Storage::DUBsIe:r:mCyosnqtlr(i3b)uted PerlDDBoIcxu:m:eCnltaastsi:o:nStorage::DBI::mysql(3)
2
3
4

NAME

6       DBIx::Class::Storage::DBI::mysql - Storage::DBI class implementing
7       MySQL specifics
8

SYNOPSIS

10       Storage::DBI autodetects the underlying MySQL database, and re-blesses
11       the $storage object into this class.
12
13         my $schema = MyDb::Schema->connect( $dsn, $user, $pass, { on_connect_call => 'set_strict_mode' } );
14

DESCRIPTION

16       This class implements MySQL specific bits of DBIx::Class::Storage::DBI.
17
18       It also provides a one-stop on-connect macro "set_strict_mode" which
19       sets session variables such that MySQL behaves more predictably as far
20       as the SQL standard is concerned.
21

STORAGE OPTIONS

23   set_strict_mode
24       Enables session-wide strict options upon connecting. Equivalent to:
25
26         ->connect ( ... , {
27           on_connect_do => [
28             q|SET SQL_MODE = CONCAT('ANSI,TRADITIONAL,ONLY_FULL_GROUP_BY,', @@sql_mode)|,
29             q|SET SQL_AUTO_IS_NULL = 0|,
30           ]
31         });
32

AUTHORS

34       See "CONTRIBUTORS" in DBIx::Class
35

LICENSE

37       You may distribute this code under the same terms as Perl itself.
38
39
40
41perl v5.12.0                      2010-05-12DBIx::Class::Storage::DBI::mysql(3)
Impressum