DBIx::Migration::Directories::Database::mysql - Handle quirks with DBD::mysql
my $dbh = DBIx::Transaction->connect('DBI:mysql:database=test'); my $migration = DBIx::Migration::Directories->new( dbh => $dbh, schema => 'MySchema', ... );
The following methods had to be written differently so that they behave properly under MySQL:
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.
information_schema
sql_table_exists
SHOW TABLES
Tyler "Crackerjack" MacDonald <japh@crackerjack.net>
Copyright 2009 Tyler "Crackerjack" MacDonald <japh@crackerjack.net>
This is free software; You may distribute it under the same terms as perl itself.
DBIx::Migration::Directories, DBD::mysql
To install DBIx::Migration::Directories, copy and paste the appropriate command in to your terminal.
cpanm
cpanm DBIx::Migration::Directories
CPAN shell
perl -MCPAN -e shell install DBIx::Migration::Directories
For more information on module installation, please visit the detailed CPAN module installation guide.