Query: mysql::diff
OS: debian
Section: 3pm
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
MySQL::Diff(3pm) User Contributed Perl Documentation MySQL::Diff(3pm)NAMEMySQL::Diff - Generates a database upgrade instruction setSYNOPSISuse MySQL::Diff; my $md = MySQL::Diff->new( %options ); my $db1 = $md->register_db($ARGV[0], 1); my $db2 = $md->register_db($ARGV[1], 2); my $diffs = $md->diff();DESCRIPTIONGenerates the SQL instructions required to upgrade the first database to match the second.METHODSConstructor new( %options ) Instantiate the objects, providing the command line options for database access and process requirements. Public Methods Fuller documentation will appear here in time :) o register_db($name,$inx) Reference the database, and setup a connection. The name can be an already existing 'MySQL::Diff::Database' database object. The index can be '1' or '2', and refers both to the order of the diff, and to the host, port, username and password arguments that have been supplied. o db1() o db2() Return the first and second databases registered via "register_db()". o diff() Performs the diff, returning a string containing the commands needed to change the schema of the first database into that of the second.COPYRIGHT AND LICENSECopyright (c) 2000-2011 Adam Spiers. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.SEE ALSOmysqldiff, MySQL::Diff::Database, MySQL::Diff::Table, MySQL::Diff::UtilsAUTHORAdam Spiers <mysqldiff@adamspiers.org> perl v5.14.2 2012-04-06 MySQL::Diff(3pm)
Related Man Pages |
---|
algorithm::diffold(3pm) - linux |
apache::session::store::mysql(3pm) - debian |
array::diff(3pm) - debian |
mysql::diff(3pm) - debian |
mysql::diff::table(3pm) - debian |
Similar Topics in the Unix Linux Community |
---|
Question about excutable software in Unix |
Backing Up and Emailing Home Directory and SQL Databases |
Using Diff to Compare 2 files |
C/C++ program that connects to a MySQLserver |
diff problem |