The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

DBIx::Migration::Directories::Database::mysql - Handle quirks with DBD::mysql

SYNOPSIS

my $dbh = DBIx::Transaction->connect('DBI:mysql:database=test');

my $migration = DBIx::Migration::Directories->new(
  dbh     => $dbh,
  schema  => 'MySchema',
  ...
);

DESCRIPTION

The following methods had to be written differently so that they behave properly under MySQL:

sql_table_exists($table)

See "sql_table_exists" in DBIx::Migration::Directories::Base.

MySQL 4.x does not support the SQL standard "information_schema". This sql_table_exists method instead uses MySQL's custom "SHOW TABLES" syntax to verify the existance of a table.

AUTHOR

Tyler "Crackerjack" MacDonald <japh@crackerjack.net>

LICENSE

Copyright 2009 Tyler "Crackerjack" MacDonald <japh@crackerjack.net>

This is free software; You may distribute it under the same terms as perl itself.

SEE ALSO

DBIx::Migration::Directories, DBD::mysql