DB Comparer for MySQL - User's Manual...All rights reserved. This manual documents EMS DB Comparer...
Transcript of DB Comparer for MySQL - User's Manual...All rights reserved. This manual documents EMS DB Comparer...
-
© 1999-2019 EMS Software Development
DB Comparer for MySQLUser's Manual
-
All rights reserved.
This manual documents EMS DB Comparer for MySQL
No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, includingphotocopying, recording, taping, or information storage and retrieval systems - without the written permission of thepublisher.
Products that are referred to in this document may be either trademarks and/or registered trademarks of therespective owners. The publisher and the author make no claim to these trademarks.
While every precaution has been taken in the preparation of this document, the publisher and the author assume noresponsibility for errors or omissions, or for damages resulting from the use of information contained in thisdocument or from the use of programs and source code that may accompany it. In no event shall the publisher andthe author be liable for any loss of profit or any other commercial damage caused or alleged to have been causeddirectly or indirectly by this document.
Use of this documentation is subject to the following terms: you may create a printed copy of this documentationsolely for your own personal use. Conversion to other formats is allowed as long as the actual content is not alteredor edited in any way.
Document generated on: 14.06.2019
DB Comparer for MySQLUser's Manual© 1999-2019 EMS Software Development
-
DB Comparer for MySQL - User's Manual3
© 1999-2019 EMS Software Development
Table of Contents
Part I Welcome to DB Comparer for MySQL! 6
.......................................................................................................................................7What's new
.......................................................................................................................................8System requirements
.......................................................................................................................................9Installation
.......................................................................................................................................10Registration
.......................................................................................................................................12How to register DB Comparer
.......................................................................................................................................14Version history
.......................................................................................................................................19Other EMS Products
Part II Managing projects 26
.......................................................................................................................................27Getting started
.......................................................................................................................................28Opening / saving project
.......................................................................................................................................30Compare Project wizard
................................................................................................................................................................ 30Setting database options
.......................................................................................................................................................................... 32Selecting databases
.......................................................................................................................................................................... 33Selecting registered database
................................................................................................................................................................ 34Setting compare options
................................................................................................................................................................ 36Select objects for comparison
................................................................................................................................................................ 37Renamed objects
.......................................................................................................................................39Viewing Summary Info
Part III Working with project 42
.......................................................................................................................................44Browsing database tree
.......................................................................................................................................47Viewing objects definition
.......................................................................................................................................49Information window
.......................................................................................................................................51Working with modification scripts
.......................................................................................................................................53Switching windows
Part IV SQL Script editor 55
Part V Reports management 59
.......................................................................................................................................60Report designer
.......................................................................................................................................65Sample reports
Part VI DB Comparer options 70
.......................................................................................................................................71Environment options
................................................................................................................................................................ 71Preferences
................................................................................................................................................................ 73Project options
................................................................................................................................................................ 74Confirmations
-
DB Comparer for MySQL - User's Manual4
© 1999-2019 EMS Software Development
................................................................................................................................................................ 75Compare options
................................................................................................................................................................ 77Fonts
................................................................................................................................................................ 78Languages
................................................................................................................................................................ 80Colors
.......................................................................................................................................82Editor options
................................................................................................................................................................ 82General
................................................................................................................................................................ 83Display
................................................................................................................................................................ 85Color
................................................................................................................................................................ 85Quick code
.......................................................................................................................................87Visual options
................................................................................................................................................................ 88Bars and menus
................................................................................................................................................................ 90Trees and lists
................................................................................................................................................................ 91Edit controls
................................................................................................................................................................ 93Check boxes
................................................................................................................................................................ 94Buttons
................................................................................................................................................................ 96Page controls
................................................................................................................................................................ 97Group boxes
................................................................................................................................................................ 99Splitters
.......................................................................................................................................101Keyboard templates
.......................................................................................................................................103Selecting program language
Part VII Console application 105
.......................................................................................................................................106Using DB Comparer console
.......................................................................................................................................108How to schedule console run
Part VIII Appendix 110
.......................................................................................................................................110Find Text dialog
.......................................................................................................................................112Replace Text dialog
.......................................................................................................................................115SSH tunneling options
.......................................................................................................................................116HTTP tunneling options
.......................................................................................................................................117Customize toolbars and menus
-
Part
I
-
DB Comparer for MySQL - User's Manual6
© 1999-2019 EMS Software Development
1 Welcome to DB Comparer for MySQL!
DB Comparer for MySQL is an excellent tool for comparing MySQL databases anddiscovering differences in their structures. You can view all the differences in compareddatabase objects and execute an automatically generated script to eliminate all orselected differences. A simple and intuitively comprehensive GUI allows you to work withseveral projects simultaneously, define comparison parameters, and alter modificationscripts. Many other features are implemented to make your work with our databasecomparison tool easy and fast.
Visit our web-site for details: http://www.sqlmanager.net/
Key featuresComparing and synchronization of databases or schemas on different servers as wellas on a single serverComparing all database objects or selected ones only. Comparing by all or by selectedproperties of objects onlyVisual representation of differences between databases with details and modificationscripts for the different objectsAbility to synchronize databases manually step by step or automaticallyAbility to generate reports with database differences. Possibility to add customreportsAbility to automate the database comparison and synchronization using the consoleapplicationWorking with several compare projects at onceSaving and loading projects with all their parametersA wide variety of options for comparison and synchronizationBuilt-in SQL Script Editor with syntax highlightNew state-of-the-art graphical user interfaceLatest MySQL versions support
and more...
Product information
Homepage: http://www.sqlmanager.net/en/products/mysql/dbcomparer
Support TicketSystem:
http://www.sqlmanager.net/support
Register online at: http://www.sqlmanager.net/en/products/mysql/dbcomparer/buy
http://www.sqlmanager.net/http://www.sqlmanager.net/en/products/mysql/dbcomparerhttp://www.sqlmanager.net/supporthttp://www.sqlmanager.net/en/products/mysql/dbcomparer/buy
-
DB Comparer for MySQL - User's Manual7
© 1999-2019 EMS Software Development
1.1 What's new
Version Release date
DB Comparer for MySQL 4.3.4 April 05, 2019
What's new in DB Comparer?
JSON parameter in functions was sometimes displayed incorrectly. Fixed now.
NOT NULL option for TIMESTAMP fields is now synchronized correctly.
Script for fields order was generated regardless of the corresponding option state. Fixednow.
Functions and procedures were not compared correctly on different server versions withINFORMATION_SCHEMA used. Fixed now.
Object Definition windows can be hided\opened from the main menu now.
Default settings didn’t reset the folder to localization files. Fixed now.
Error window in SQL script editor saves custom size now.
Other minor fixes and improvements.
See also:
Version history
-
DB Comparer for MySQL - User's Manual8
© 1999-2019 EMS Software Development
1.2 System requirements
Microsoft Windows XP, Microsoft Windows Server 2003, Microsoft Windows Server2008, Microsoft Windows Server 2008 R2, Microsoft Windows Server 2012, MicrosoftWindows Server 2012 R2, Microsoft Windows Server 2016, Microsoft Windows Vista,Microsoft Windows 7, Microsoft Windows 8/8.1, Microsoft Windows 10512 MB of RAM or more50 MB of available HD space for program installationPossibility to connect to any local or remote MySQL serverSupported MySQL server versions: from 4.1 up to 8.0
-
DB Comparer for MySQL - User's Manual9
© 1999-2019 EMS Software Development
1.3 Installation
If you are installing DB Comparer for MySQL for the first time on your PC:download the DB Comparer for MySQL distribution package from the download pageavailable at our site;unzip the downloaded file to any local directory, e.g. C:\unzipped;run MyCom parerSetup.exe from the local directory and follow the instructions of theinstallation wizard;after the installation process is completed, find the DB Comparer shortcut in thecorresponding group of Windows Start menu.
If you want to upgrade an installed copy of DB Comparer for MySQL to the latestversion:
download the DB Comparer for MySQL distribution package from the download pageavailable at our site;unzip the downloaded file to any local directory, e.g. C:\unzipped;close DB Comparer application if it is running;run MyCom parerSetup.exe from the local directory and follow the instructions of theinstallation wizard.
See also:
System requirements
http://www.sqlmanager.net/en/downloadshttp://www.sqlmanager.net/en/downloads
-
DB Comparer for MySQL - User's Manual10
© 1999-2019 EMS Software Development
1.4 Registration
To make it easier for you to purchase our products, we have contracted with share-it!registration service. The share-it! order process is protected via a secure connection andmakes online ordering by credit/debit card quick and safe. The following information aboutshare-it! is provided for your convenience.
Share-it! is a global e-commerce provider for software and shareware sales via theInternet. Share-it! accepts payments in US Dollars, Euros, Pounds Sterling, Japanese Yen,Australian Dollars, Canadian Dollars or Swiss Franks by Credit Card (Visa, MasterCard/EuroCard, American Express, Diners Club), Bank/Wire Transfer, Check or Cash.
If you have ordered EMS software online and would like to review your order information,or if you have questions about ordering, payments, or shipping procedures, please visitour Customer Care Center, provided by Share-it!
Please note that all of our products are delivered via ESD (Electronic Software Delivery)only. After purchase you will be able to immediately download the registration keys orpasswords and download links for archives of full versions. Also you will receive a copy ofregistration keys or passwords by e-mail. Please make sure to enter a valid e-mail addressin your order. If you have not received the keys within 2 hours, please, contact us at [email protected]
To obtain MORE INFORMATION on this product, visit us at http://sqlmanager.net/products/mysql/dbcomparer
Product distribution
EMS DB Comparer for MySQL (Business license) + 1-Year Maintenance*
RegisterNow!
EMS DB Comparer for MySQL (Business license) + 2-Year Maintenance*
EMS DB Comparer for MySQL (Business license) + 3-Year Maintenance*
EMS DB Comparer for MySQL (Non-commercial license) + 1-YearMaintenance*
EMS DB Comparer for MySQL (Non-commercial license) + 2-YearMaintenance*
EMS DB Comparer for MySQL (Non-commercial license) + 3-YearMaintenance*
EMS DB Comparer for MySQL (Trial version) DownloadNow!
*EMS Maintenance Program provides the following benefits:
Free software bug fixes, enhancements, updates and upgrades during themaintenance periodFree unlimited communications with technical staff for the purpose of reportingSoftware failuresFree reasonable number of communications for the purpose of consultation onoperational aspects of the software
After your maintenance expires, you will not be able to update your software or gettechnical support. To protect your investments and have your software up-to-date, you
http://www.shareit.com/ccc/index.html?publisherid=20350&languageid=1mailto:[email protected]://sqlmanager.net/en/products/mysql/dbcomparerhttp://sqlmanager.net/en/products/mysql/dbcomparerhttp://www.sqlmanager.net/products/mysql/dbcomparer/buyhttp://www.sqlmanager.net/products/mysql/dbcomparer/buyhttp://sqlmanager.net/en/products/mysql/dbcomparer/downloadhttp://sqlmanager.net/en/products/mysql/dbcomparer/download
-
DB Comparer for MySQL - User's Manual11
© 1999-2019 EMS Software Development
need to renew your maintenance.
You can easily reinitiate/renew your maintenance with our online, speed-throughMaintenance Reinstatement/Renewal Interface. After reinitiating/renewal you will receivea confirmation e-mail with all the necessary information.
See also:
How to register DB Comparer
-
DB Comparer for MySQL - User's Manual12
© 1999-2019 EMS Software Development
1.5 How to register DB Comparer
If you have not registered your copy of DB Comparer for MySQL yet, you can do it byselecting the Help | Register DB Comparer for MySQL main menu item or by selectingthe Help | About main menu item and pressing the Register Now button to call theRegister DB Comparer for MySQL dialog.
To register your newly purchased copy of EMS DB Comparer for MySQL, perform thefollowing steps:
receive the notification letter from Share-it! with the registration info;enter the Registration Name and the Registration Key from this letter;make sure that the registration process has been completed successfully – check theregistration information in the About DB Comparer for MySQL dialog (use the Help |About main menu item to open this dialog).
-
DB Comparer for MySQL - User's Manual13
© 1999-2019 EMS Software Development
See also:
Registration
-
DB Comparer for MySQL - User's Manual14
© 1999-2019 EMS Software Development
1.6 Version history
Product name Version Release date
DB Comparer for MySQL Version 4.3.3 September 14,2018
DB Comparer for MySQL Version 4.3.2 July 10, 2017
DB Comparer for MySQL Version 4.3.1 December 9, 2015
DB Comparer for MySQL Version 4.3 July 20, 2015
DB Comparer for MySQL Version 4.2 January 20, 2015
DB Comparer for MySQL Version 4.1.0.1 October 31, 2012
DB Comparer for MySQL Version 4.0.0.1 December 8, 2011
DB Comparer for MySQL Version 3.3.0.1 October 7, 2009
DB Comparer 2007 for MySQL Version 3.1.0.1 April 10, 2008
DB Comparer 2007 for MySQL Version 3.0.0.1 September 17,2007
DB Comparer 2005 for MySQL Version 2.2.0.1 August 28, 2006
DB Comparer 2005 for MySQL Version 2.1.0.1 April 17, 2006
DB Comparer 2005 for MySQL Version 2.0.0.1 March 9, 2006
MySQL DB Comparer Version 1.3.0.1 March 8, 2005
MySQL DB Comparer Version 1.2.0.1 February 11, 2004
MySQL DB Comparer Version 1.1.0.1 November 10,2003
MySQL DB Comparer Version 1.0.0.1 May 14, 2003
Огдг
Full version history is available at http://www.sqlmanager.net/products/mysql/dbcomparer/news
Version 4.3.3Refresh of objects in MySQL 8.0 has been fixed.
The buttons for easy moving between differences in DDL have been added.
Comments are now compared and sychronized as Unicode.
Minor improvements of the interface.
Localizations are now switched correctly.
Other minor bug-fixes in generated script.
Version 4.3.2The console version failed on displaying logs longer than 104 characters. Fixed now.
Database name is now correctly displayed in reports.
Subobjectes were not ignored on disabling the object in the database tree.
'Show objects list' option didn't work properly sometimes. Fixed now.
Defaults are now displayed correctly.
'Recompare' button is now disabled during comparison process.
http://www.sqlmanager.net/products/mysql/dbcomparer/newshttp://www.sqlmanager.net/products/mysql/dbcomparer/news
-
DB Comparer for MySQL - User's Manual15
© 1999-2019 EMS Software Development
Other minor improvements and bugfixes.
Version 4.3.1Script for renaming autoincrement fields has been improved.
DELIMETER wasn't added for Functions and Triggers. Fixed now.
Multiple SSH-passphrase prompt has been fixed.
Generation of script for deleting triggers has been improved.
DROP IF EXISTS statement added to the generated script, if possible.
Lots of other improvements and bug-fixes.
Version 4.3Dependencies processing mechanism enhanced.
The order of table fields was treated incorrectly. Fixed now.
The possibility of getting information on fields from the `information_schema` databaseadded.
The BOOLEAN fields were compared incorrectly. Fixed now.
Lots of other improvements and bug-fixes.
Version 4.2Added the comparison of procedure parameters.
Delimiters are added in the synchronization script.
Added the possibility of using INFORMATION_SCHEMA.
The algorithm of calculating dependencies has been improved.
Objects filters are improved now: regular expressions can be used.
The error occured on connection timeout. The connection is re-establishedautomatically now.
Index comparison is improved now: comments and specific properties of MySQL 5.5are compared.
Lots of other improvements and bug-fixes.
Version 4.1Added support of the previously unsupported index properties.
Added the possibility to save the project at any step of the wizard.
Added the possibility to bulk turn on/turn off the object properties at the Compareproperties step.
Other improvements and bugfixes.
Version 4.0The algorithm of object comparison and script generation is significantly improved,now it takes into account all particularities of MySQL server.Added the possibility to search and analyze the renamed objects. The application nowanalyzes databases and creates a list of objects, which might have been renamed.Added the possibility to synchronize a fields order in the tables.Added the Project Management Wizard.The list of comparison properties for objects is expanded, that makes the databaseanalysis more complete.Added the possibility to compare / synchronize users and rights on the objects.Added the support of new Windows 7 features: a progress bar in the taskbar andJump List with a list of projects.Some other improvements and bugfixes.
-
DB Comparer for MySQL - User's Manual16
© 1999-2019 EMS Software Development
Version 3.3Unicode support for metadata is implemented.Federated tables can now be compared."Load last password for new projects" option worked sometimes wrong Fixed now.Other small improvements and fixes.
Version 3.2Scripts to add the AUTO_INCREMENT field into a table which already contained aprimary key were generated improperly. Fixed now.The possibility to compare invalid and broken objects is implemented.Database comparison speed is considerably increased.Other minor improvements and bug-fixes.
Version 3.1When comparing a MySQL 4.1 database with the one on MySQL 5.0,identical table fields of INT type used to be treated as different. Fixed now
When comparing databases on Chinese Windows localization, the "Error: RichEdit lineinsertion error" message used to appear. Fixed nowOther minor improvements and bug-fixes
Version 3.0Comparing and synchronization of databases or schemas on different servers as wellas on a single serverComparing all database objects or selected ones only. Comparing by all or selectedproperties of objects onlyVisual representation of the differences between databases with details andmodification scripts for the different objectsAbility to synchronize databases manually step by step or automaticallyAbility to generate reports with database differences. Ability to add custom reportsAbility to automate the database comparison and synchronization using the ConsoleApplicationWorking with several compare projects simultaneouslySaving and loading projects with all their parametersA wide variety of options for comparison and synchronizationBuilt-in SQL Script editor with syntax highlightNew state-of-the-art graphical user interfaceLatest MySQL version support
Scroll to topVersion 2.2
Added the ability to filter analyzed objects using regular expressions. This allows oneto analyze only required objects, and increases the speed of comparing and analyzingprocessesAdded the opportunity to connect via SSH/HTTP tunnelVisual representation of definition differences implementedThe 'Hide identical objects' option added. This option allows one to hide identicalobjects in the DB TreeLarge databases are now compared fasterAbility to refresh different types of objects separately implemented. This may behelpful when you synchronize databases in the step-by-step styleToolbar with list of working windows is added to the main program windowThe 'Synchronize databases after comparing in console mode' option added. Thisproject option allows you to run the console application in synchronization mode bydefault (without defining the /E option)
-
DB Comparer for MySQL - User's Manual17
© 1999-2019 EMS Software Development
The 'Fill Table View on load' option added. This option can be used to increase thespeed of comparing process and decrease memory usageThe ability to set the default directories for grid exports and reports storage addedNo more delays occur while navigating DB Tree with large databasesFixed the saving passwords errorProcedures were not compared correctly in some cases. Fixed nowFunctions were not compared correctly in some cases. Fixed nowSometimes an error occurred while refreshing databases. Fixed now
and other minor improvements and small bug-fixes.Scroll to top
Version 2.1Now the direction of synchronization can be saved in the project file (also can beused by the Console application)Export to Excel, Text, XML and HTML formats is now available from the Grid viewNew, more detailed console application log is implementedNow it is possible to select fields from the list when creating user reportsHints for the objects in tree are now displayed correctlyWhen creating a new report, its pages used to be missing. Fixed nowWhen changing Compare Options for a project, the Access Violation error emerged.Fixed now
Scroll to topVersion 2.0Completely re-designed top-of-the-art user interfaceAmple opportunities for customizing your working environmentNew way of browsing differences between compared databasesEasy viewing of all different properties of database objectsAbility to print a pre-defined differences report or create a new oneNew advanced comparison optionsImproved sync script generationMultilanguage supportA lot of other improvements and bug fixes
and more...Scroll to top
Version 1.3Fixed a bug concerned with incomplete maximization of the main program windowMySQL 5.0.1 supportFor some MySQL 4.1.x versions table type was incorrectly determined as MyISAM.Fixed nowSome minor visual improvements and bug-fixes.
Scroll to topVersion 1.2Implemented the console version of the database comparison utility: now you canschedule your database structure synchronization routine using the database utilityNow DB Comparer does not try to create a primary key if the table already has one.The utility drops the existing primary key and creates another oneUsing this version you can compare and synchronize primary keys regardless of keynames.Now you can view project properties without actually loading the project file - justopen it while holding down the Shift keyWe have implemented synchronous scrolling in the Master Definition and TargetDefinition windowsNow project files are associated with particular database comparison utilitiesSome small improvements and bug fixes
-
DB Comparer for MySQL - User's Manual18
© 1999-2019 EMS Software Development
Scroll to topVersion 1.1Significantly increased the comparison speed for the databases with large amount ofobjectsNow the fields order is considered on comparing tables. You can enable or disable thisfeature by using the 'Field order' option available within the Compare Options tab ofthe 'Project Options' dialogNow you can view the project options just before the project loading. Check the'Show Project Options before Loading' option available within the Project Optionssection of the Environment Options dialog to enable this featureAdded two new options to the Project Options section of the Environment Optionsdialog - 'Enable Forward Navigation' and 'Enable Backward Navigation'. Using theseoptions you can customize the navigation behavior. If the forward navigation isenabled, you can navigate between the generated SQL scripts by selecting the properobjects from object trees, and vice versa (if the backward navigation is enabled)Now you can copy the Object definition to the clipboardSome small improvements and bug-fixes
Scroll to topVersion 1.0
Basic features:Comparing databases on one server as well as on different serversSynchronous navigation between database objects with displaying the correspondingscripts for modifying databasesPossibility of execution modification statements one by one or all togetherPossibility of editing modification statements and changing their orderBuilt-in SQL Script Editor with syntax highlightAn ability to work with several compare projects at once, as well as save and loadprojects with all their parametersCustomizable and easy-to-use MDI InterfaceA wide variety of options for customizationKeyboard templates for faster editing SQL scripts
and more...Scroll to top
See also:
What's new
-
DB Comparer for MySQL - User's Manual19
© 1999-2019 EMS Software Development
1.7 Other EMS Products
Quick navigation
MySQL Microsoft SQLServer
PostgreSQL InterBase /FireBird
Oracle IBM DB2 Tools &components
MySQL
SQL Management Studio for MySQLEMS SQL Management Studio for MySQL is a complete solution for database administration anddevelopment. SQL Studio unites the must-have tools in one powerful and easy-to-useenvironment that will make you more productive than ever before!
SQL Manager for MySQLSimplify and automate your database development process, design, explore and maintainexisting databases, build compound SQL query statements, manage database user rights andmanipulate data in different ways.
Data Export for MySQLExport your data to any of 20 most popular data formats, including MS Access, MS Excel, MSWord, PDF, HTML and more.
Data Import for MySQLImport your data from MS Access, MS Excel and other popular formats to database tables viauser-friendly wizard interface.
Data Pump for MySQLMigrate from most popular databases (MySQL, PostgreSQL, Oracle, DB2, InterBase/Firebird,etc.) to MySQL.
Data Generator for MySQLGenerate test data for database testing purposes in a simple and direct way. Wide range of datageneration parameters.
DB Comparer for MySQLCompare and synchronize the structure of your databases. Move changes on your developmentdatabase to production with ease.
DB Extract for MySQLCreate database backups in the form of SQL scripts, save your database structure and tabledata as a whole or partially.
SQL Query for MySQLAnalyze and retrieve your data, build your queries visually, work with query plans, build chartsbased on retrieved data quickly and more.
Data Comparer for MySQLCompare and synchronize the contents of your databases. Automate your data migrations fromdevelopment to production database.
Scroll to top
http://www.sqlmanager.net/en/products/studio/mysqlhttp://www.sqlmanager.net/products/mysql/managerhttp://www.sqlmanager.net/products/mysql/dataexporthttp://www.sqlmanager.net/products/mysql/dataimporthttp://www.sqlmanager.net/products/mysql/datapumphttp://www.sqlmanager.net/products/mysql/datageneratorhttp://www.sqlmanager.net/products/mysql/dbcomparerhttp://www.sqlmanager.net/products/mysql/extracthttp://www.sqlmanager.net/products/mysql/queryhttp://sqlmanager.net/products/mysql/datacomparer
-
DB Comparer for MySQL - User's Manual20
© 1999-2019 EMS Software Development
Microsoft SQL Server
SQL Management Studio for SQL ServerEMS SQL Management Studio for SQL Server is a complete solution for database administrationand development. SQL Studio unites the must-have tools in one powerful and easy-to-useenvironment that will make you more productive than ever before!
EMS SQL Backup for SQL ServerPerform backup and restore, log shipping and many other regular maintenance tasks on thewhole set of SQL Servers in your company.
SQL Administrator for SQL ServerPerform administrative tasks in the fastest, easiest and most efficient way. Managemaintenance tasks, monitor their performance schedule, frequency and the last executionresult.
SQL Manager for SQL ServerSimplify and automate your database development process, design, explore and maintainexisting databases, build compound SQL query statements, manage database user rights andmanipulate data in different ways.
Data Export for SQL ServerExport your data to any of 20 most popular data formats, including MS Access, MS Excel, MSWord, PDF, HTML and more
Data Import for SQL ServerImport your data from MS Access, MS Excel and other popular formats to database tables viauser-friendly wizard interface.
Data Pump for SQL ServerMigrate from most popular databases (MySQL, PostgreSQL, Oracle, DB2, InterBase/Firebird,etc.) to Microsoft® SQL Server™.
Data Generator for SQL ServerGenerate test data for database testing purposes in a simple and direct way. Wide range ofdata generation parameters.
DB Comparer for SQL ServerCompare and synchronize the structure of your databases. Move changes on your developmentdatabase to production with ease.
DB Extract for SQL ServerCreate database backups in the form of SQL scripts, save your database structure and tabledata as a whole or partially.
SQL Query for SQL ServerAnalyze and retrieve your data, build your queries visually, work with query plans, build chartsbased on retrieved data quickly and more.
Data Comparer for SQL ServerCompare and synchronize the contents of your databases. Automate your data migrations fromdevelopment to production database.
Scroll to top
PostgreSQL
http://www.sqlmanager.net/products/studio/mssqlhttp://www.sqlmanager.net/products/mssql/sqlbackuphttp://www.sqlmanager.net/products/mssql/sqladminhttp://www.sqlmanager.net/products/mssql/managerhttp://www.sqlmanager.net/products/mssql/dataexporthttp://www.sqlmanager.net/products/mssql/dataimporthttp://www.sqlmanager.net/products/mssql/datapumphttp://www.sqlmanager.net/products/mssql/datageneratorhttp://www.sqlmanager.net/products/mssql/dbcomparerhttp://www.sqlmanager.net/products/mssql/extracthttp://www.sqlmanager.net/products/mssql/queryhttp://www.sqlmanager.net/products/mssql/datacomparer
-
DB Comparer for MySQL - User's Manual21
© 1999-2019 EMS Software Development
SQL Management Studio for PostgreSQLEMS SQL Management Studio for PostgreSQL is a complete solution for database administrationand development. SQL Studio unites the must-have tools in one powerful and easy-to-useenvironment that will make you more productive than ever before!
SQL Manager for PostgreSQLSimplify and automate your database development process, design, explore and maintainexisting databases, build compound SQL query statements, manage database user rights andmanipulate data in different ways.
Data Export for PostgreSQLExport your data to any of 20 most popular data formats, including MS Access, MS Excel, MSWord, PDF, HTML and more
Data Import for PostgreSQLImport your data from MS Access, MS Excel and other popular formats to database tables viauser-friendly wizard interface.
Data Pump for PostgreSQLMigrate from most popular databases (MySQL, SQL Server, Oracle, DB2, InterBase/Firebird,etc.) to PostgreSQL.
Data Generator for PostgreSQLGenerate test data for database testing purposes in a simple and direct way. Wide range ofdata generation parameters.
DB Comparer for PostgreSQLCompare and synchronize the structure of your databases. Move changes on your developmentdatabase to production with ease.
DB Extract for PostgreSQLCreate database backups in the form of SQL scripts, save your database structure and tabledata as a whole or partially.
SQL Query for PostgreSQLAnalyze and retrieve your data, build your queries visually, work with query plans, build chartsbased on retrieved data quickly and more.
Data Comparer for PostgreSQLCompare and synchronize the contents of your databases. Automate your data migrations fromdevelopment to production database.
Scroll to top
InterBase / Firebird
SQL Management Studio for InterBase/FirebirdEMS SQL Management Studio for InterBase and Firebird is a complete solution for databaseadministration and development. SQL Studio unites the must-have tools in one powerful andeasy-to-use environment that will make you more productive than ever before!
SQL Manager for InterBase/FirebirdSimplify and automate your database development process, design, explore and maintainexisting databases, build compound SQL query statements, manage database user rights andmanipulate data in different ways.
http://www.sqlmanager.net/products/studio/postgresqlhttp://www.sqlmanager.net/products/postgresql/managerhttp://www.sqlmanager.net/products/postgresql/dataexporthttp://www.sqlmanager.net/products/postgresql/dataimporthttp://www.sqlmanager.net/products/postgresql/datapumphttp://www.sqlmanager.net/products/postgresql/datageneratorhttp://www.sqlmanager.net/products/postgresql/dbcomparerhttp://www.sqlmanager.net/products/postgresql/extracthttp://www.sqlmanager.net/products/postgresql/queryhttp://www.sqlmanager.net/products/postgresql/queryhttp://www.sqlmanager.net/products/studio/ibfbhttp://www.sqlmanager.net/products/ibfb/manager
-
DB Comparer for MySQL - User's Manual22
© 1999-2019 EMS Software Development
Data Export for InterBase/FirebirdExport your data to any of 20 most popular data formats, including MS Access, MS Excel, MSWord, PDF, HTML and more
Data Import for InterBase/FirebirdImport your data from MS Access, MS Excel and other popular formats to database tables viauser-friendly wizard interface.
Data Pump for InterBase/FirebirdMigrate from most popular databases (MySQL, SQL Server, Oracle, DB2, PostgreSQL, etc.) toInterBase/Firebird.
Data Generator for InterBase/FirebirdGenerate test data for database testing purposes in a simple and direct way. Wide range ofdata generation parameters.
DB Comparer for InterBase/FirebirdCompare and synchronize the structure of your databases. Move changes on your developmentdatabase to production with ease.
DB Extract for InterBase/FirebirdCreate database backups in the form of SQL scripts, save your database structure and tabledata as a whole or partially.
SQL Query for InterBase/FirebirdAnalyze and retrieve your data, build your queries visually, work with query plans, build chartsbased on retrieved data quickly and more.
Data Comparer for InterBase/FirebirdCompare and synchronize the contents of your databases. Automate your data migrations fromdevelopment to production database.
Scroll to top
Oracle
SQL Management Studio for OracleEMS SQL Management Studio for Oracle is a complete solution for database administration anddevelopment. SQL Studio unites the must-have tools in one powerful and easy-to-useenvironment that will make you more productive than ever before!
SQL Manager for OracleSimplify and automate your database development process, design, explore and maintainexisting databases, build compound SQL query statements, manage database user rights andmanipulate data in different ways.
Data Export for OracleExport your data to any of 20 most popular data formats, including MS Access, MS Excel, MSWord, PDF, HTML and more.
Data Import for OracleImport your data from MS Access, MS Excel and other popular formats to database tables viauser-friendly wizard interface.
Data Pump for OracleMigrate from most popular databases (MySQL, PostgreSQL, MySQL, DB2, InterBase/Firebird,etc.) to Oracle
http://www.sqlmanager.net/products/ibfb/dataexporthttp://www.sqlmanager.net/products/ibfb/dataimporthttp://www.sqlmanager.net/products/ibfb/datapumphttp://www.sqlmanager.net/products/ibfb/datageneratorhttp://www.sqlmanager.net/products/ibfb/dbcomparerhttp://www.sqlmanager.net/products/ibfb/extracthttp://www.sqlmanager.net/products/ibfb/queryhttp://www.sqlmanager.net/products/ibfb/datacomparerhttp://www.sqlmanager.net/products/studio/oraclehttp://www.sqlmanager.net/products/oracle/managerhttp://www.sqlmanager.net/products/oracle/dataexporthttp://www.sqlmanager.net/products/oracle/dataimporthttp://www.sqlmanager.net/products/oracle/datapump
-
DB Comparer for MySQL - User's Manual23
© 1999-2019 EMS Software Development
Data Generator for OracleGenerate test data for database testing purposes in a simple and direct way. Wide range of datageneration parameters.
DB Comparer for OracleCompare and synchronize the structure of your databases. Move changes on your developmentdatabase to production with ease.
DB Extract for OracleCreate database backups in the form of SQL scripts, save your database structure and tabledata as a whole or partially.
SQL Query for OracleAnalyze and retrieve your data, build your queries visually, work with query plans, build chartsbased on retrieved data quickly and more.
Data Comparer for OracleCompare and synchronize the contents of your databases. Automate your data migrations fromdevelopment to production database.
Scroll to top
IBM DB2
SQL Manager for DB2Simplify and automate your database development process, design, explore and maintainexisting databases, build compound SQL query statements, manage database user rights andmanipulate data in different ways.
Data Export for DB2Export your data to any of 20 most popular data formats, including MS Access, MS Excel, MSWord, PDF, HTML and more.
Data Import for DB2Import your data from MS Access, MS Excel and other popular formats to database tables viauser-friendly wizard interface.
Data Pump for DB2Migrate from most popular databases (MySQL, PostgreSQL, Oracle, MySQL, InterBase/Firebird,etc.) to DB2
Data Generator for DB2Generate test data for database testing purposes in a simple and direct way. Wide range of datageneration parameters.
DB Extract for DB2Create database backups in the form of SQL scripts, save your database structure and tabledata as a whole or partially.
SQL Query for DB2Analyze and retrieve your data, build your queries visually, work with query plans, build chartsbased on retrieved data quickly and more.
Scroll to top
http://www.sqlmanager.net/products/oracle/datageneratorhttp://www.sqlmanager.net/products/oracle/dbcomparerhttp://www.sqlmanager.net/products/oracle/extracthttp://www.sqlmanager.net/products/oracle/queryhttp://www.sqlmanager.net/products/oracle/datacomparerhttp://www.sqlmanager.net/products/db2/managerhttp://www.sqlmanager.net/products/db2/dataexporthttp://www.sqlmanager.net/products/db2/dataimporthttp://www.sqlmanager.net/products/db2/datapumphttp://www.sqlmanager.net/products/db2/datageneratorhttp://www.sqlmanager.net/products/db2/extracthttp://www.sqlmanager.net/products/db2/query
-
DB Comparer for MySQL - User's Manual24
© 1999-2019 EMS Software Development
Tools & components
Advanced Data ExportAdvanced Data Export Component Suite for Borland Delphi and C++ Builder will allow you tosave your data in the most popular office programs formats.
Advanced Data Export .NETAdvanced Data Export .NET is a component suite for Microsoft Visual Studio .NET that will allowyou to save your data in the most popular data formats for the future viewing, modification,printing or web publication. You can export data into MS Access, MS Excel, MS Word (RTF), PDF,TXT, DBF, CSV and more! There will be no need to waste your time on tiresome dataconversion - Advanced Data Export will do the task quickly and will give the result in thedesired format.
Advanced Data ImportAdvanced Data Import™ Component Suite for Delphi and C++ Builder will allow you to importyour data to the database from files in the most popular data formats.
Advanced PDF GeneratorAdvanced PDF Generator for Delphi gives you an opportunity to create PDF documents withyour applications written on Delphi or C++ Builder.
Advanced Query BuilderAdvanced Query Builder is a powerful component suite for Borland Delphi and C++ Builderintended for visual building SQL statements for the SELECT, INSERT, UPDATE and DELETEclauses.
Advanced Excel ReportAdvanced Excel Report for Delphi is a powerful band-oriented generator of template-basedreports in MS Excel.
Advanced LocalizerAdvanced Localizer™ is an indispensable component suite for Delphi for adding multilingualsupport to your applications.
Scroll to top
http://www.sqlmanager.net/products/tools/advancedexporthttp://www.sqlmanager.net/en/products/tools/advancedexportdotnethttp://www.sqlmanager.net/products/tools/advancedimporthttp://www.sqlmanager.net/products/tools/pdfgeneratorhttp://www.sqlmanager.net/products/tools/querybuilderhttp://www.sqlmanager.net/products/tools/excelreporthttp://www.sqlmanager.net/products/tools/advancedlocalizer
-
Part
II
-
DB Comparer for MySQL - User's Manual26
© 1999-2019 EMS Software Development
2 Managing projects
DB Comparer for MySQL allows you to create, save and open saved projec t s. To startworking with the program you need to create the project. You can modify options of anexisting project any time your work with it.
Creating projectOpening / saving projectCompare Project wizard
See also:
Working with project
SQL Script editor
Reports management
DB Comparer options
Console application
-
DB Comparer for MySQL - User's Manual27
© 1999-2019 EMS Software Development
2.1 Getting started
To start working with DB Comparer for MySQL, you should either create a new project or open an existing one.
To create the new project select the Project | New Project main menu item or use the
New Project button on the toolbar (Ct r l+N).
Then you need to set connection properties for source and target databases.
See also:
Opening / saving Project
Compare Project wizard
Viewing Summary Info
-
DB Comparer for MySQL - User's Manual28
© 1999-2019 EMS Software Development
2.2 Opening / saving project
To open an existing DB Comparer project, select Project | Open Project... or use the Open Project...button on the toolbar (Ct r l+O).
To save a DB Comparer project, select Project | Save Project (Save Project As...) or
use the Save Project ( Save Project As) button on the toolbar (Ct r l+S /Ct r l+Alt+S). In the Project Options select Save Project button to save the currentlyedited project.
If this is the first time that this project is being saved or if you select Save Project As...,you are to specify the path to the project file and provide a name for the project filewithin the Save project options dialog.
Console options
Synchronize databases after comparingWith this option the generated script is executed right after comparing. With this option
-
DB Comparer for MySQL - User's Manual29
© 1999-2019 EMS Software Development
disabled, the synchronization script is saved without executing.
Abort script executing on errorThis option specifies whether the synchronization script must be aborted on the error.
Direction:Select the database synchronization direction.
See also:
Creating Project
Compare Project Wizard
Viewing Summary Info
-
DB Comparer for MySQL - User's Manual30
© 1999-2019 EMS Software Development
2.3 Compare Project wizard
After you have created or loaded the project, the Compare Project wizard starts.
When the comparison process is finished, the project will be loaded into the DB Comparerapplication automatically, and you will be able to start working with the project.
Wizard stepsSetting database optionsSetting compare optionsSelect objects for compareRenamed objects
See also:
Getting started
Opening / saving Project
Viewing Summary Info
2.3.1 Setting database options
Database connection properties for the source and target databases are set in the sameway.
If both the source and target databases are located on the same server, you can checkthe Both databases on the same server option and set all the properties (except forthe database name) only once.
Connect options
First select the connection type: loc al or rem ote. Local connection is used to connect to MySQL server launched on the same machinewhere DB Comparer for MySQL is running.The Remote mode allows you to connect to MySQL server launched on another computerin the network.
-
DB Comparer for MySQL - User's Manual31
© 1999-2019 EMS Software Development
By default the program uses local connection. It is indicated by switch Local selected. Ifyou wish to set remote connection, you should select the Remote switch. For remoteconnection you should also enter MySQL host name in the Connection host field. TheConnection host drop-down list contains the list of hosts already registered in theprogram. For both types you should enter MySQL port to connect through in the Connection port field.
AuthorizationAfterwards you should specify authorizat ion settings: Login and Password.The default superuser name is 'root' and the default password is empty.
After that it is necessary to spec ify the database you are going to work with: type in its
name in the Database field or use the ellipsis button to select one from the Selectdatabase list.
If necessary, use the drop-down list to specify the preferable Client charset to be usedby the application.
If you are using the EMS SQL Management Studio for MySQL version of DB Comparer forMySQL then the Select registered database button is available. Click this button to picka database already registered in the EMS SQL Management Studio in the Select Host orDatabase dialog.
Tunneling
To setup the connection via SSH tunnel, input the following values in the correspondingfields:
SSH host name is the name of the host where SSH server is runningSSH port indicates the port where SSH server is activatedSSH user name stands for the user on the machine where SSH server is running (Note: it is a Linux/Windows user, not a user of MySQL server)SSH password is the Linux/Windows user password
Note: When the SSH tunneling is set the '*' symbol appears on the tab header.
Use Private Key for authentication
-
DB Comparer for MySQL - User's Manual32
© 1999-2019 EMS Software Development
Check this option to enable Private Keys usage for the connection.
For details see SSH tunneling options.
To use HTTP tunneling, just upload the tunneling script to the webserver where MySQLserver is located, or to any other webserver from which direct connections to your MySQLserver are allowed. This script exposes the MySQL API as a set of web-services which areused by DB Comparer for MySQL.
For details see HTTP tunneling options.
When done, press the Next button to set compare options.
Next step >
See also:
Setting database options
Setting compare options
Select objects for compare
Renamed objects
2.3.1.1 Selecting databases
When the server connection settings are specified, you should select databases forcomparison using the Select database dialog.
To call this dialog, click the ellipsis button of the Database control at the Step 1.
-
DB Comparer for MySQL - User's Manual33
© 1999-2019 EMS Software Development
When you are done, press OK to apply the database selection.
2.3.1.2 Selecting registered database
Use this dialog to select a database for comparison. This dialog is available only in EMSSQL Management Studio version of DB Comparer for MySQL.
All databases registered in EMS SQL Management Studio for MySQL are displayed in the
-
DB Comparer for MySQL - User's Manual34
© 1999-2019 EMS Software Development
list.
Select the necessary database and click the OK button.
Database registration information will be filled on the first step automatically.
2.3.2 Setting compare options
Set comparison options for the project.
Case sensitive comparingEnable this option to make the comparing process case sensitive.Note that you can use a Case sensitive filter as well, just turn on the correspondingoption.
Compare invalid objectsEnable this option to allow the utility to compare broken or invalid objects.
Use INFORMATION_SCHEMAIf this option is checked then metadata is refreshed using the INFORMATION_SCHEMAdatabase. Otherwise, the 'm ysql' database is used.
Analyze renamed objects
-
DB Comparer for MySQL - User's Manual35
© 1999-2019 EMS Software Development
This option enables/disables comparing tables and fields which might have been renamed.
Show objects list
If this option is checked the list of all objects is displayed on the next step. If there is noneed to check the list of retrieved objects you can uncheck this option to speed upcomparison process.
Add comments to generated scriptUse this option to toggle comments in modification script.
Trim table and field description after n charactersThis option enables/disables cutting off the description for tables and fields after thespecified number of characters.
Select object type in the Database object tree, set a flag to include the object typeinto the comparison process.The Select All and Unselect All buttons in the popup menu are implemented to makeoption selection easier.
Compare OptionsDefine which properties are compared for the selected object type.
Filter OptionsFor your convenience the filter of object names is added. By default, f ilt er by m ask isused. A valid mask consists of literal characters, sets, and wildcards. Each literalcharacter must match a single character in the string. The comparison to literalcharacters is case-insensitive. Each set begins with an opening bracket ([) and ends witha closing bracket (]). You can use standard wildcards such as asterix (*) or percent sign (%) which are the same, or the question mark (?).
To apply filter using regular expression, check the Regular expression option. Enable Case sensitive option to make the regular expression filter case sensitive.
-
DB Comparer for MySQL - User's Manual36
© 1999-2019 EMS Software Development
Always exclude following objectsEnter the objects (one on the line) that you do not want to be compared.
To delete filter condition you may use the Clear Filter button of the Database objectspopup menu.
< Previous step
See also:
Setting database options
Setting compare options
Select objects for compare
Renamed objects
2.3.3 Select objects for comparison
You can review objects for both databases at this step.
-
DB Comparer for MySQL - User's Manual37
© 1999-2019 EMS Software Development
The objects that exist in both databases are displayed in the On Source and Targetwindow.
The objects that exist in either source or target database are displayed in On SourceOnly and On Target Only window correspondingly.
You need to check the objects to be synchronized.
< Previous step Next step >
See also:
Setting database options
Setting compare options
Select objects for compare
Renamed objects
2.3.4 Renamed objects
At this step you can see the list of objects which might have been renamed. This listincludes similar objects with different names in source and target databases.
-
DB Comparer for MySQL - User's Manual38
© 1999-2019 EMS Software Development
The script for the selected objects is displayed in the bottom part of the window.
Click the Compare button to start the database comparison process.
After the comparison has finished, the project is loaded in DB Comparer automatically andyou can start working with it.
-
DB Comparer for MySQL - User's Manual39
© 1999-2019 EMS Software Development
2.4 Viewing Summary Info
After you have created/opened a project, the selected databases are analyzed fordifferences. The Progress window displays the total progress of the comparison processand the sequence of operations performed by the utility appears.
Note: The comparing process cannot be stopped if renamed objects were found.
If the Show summary after comparing option is selected in the Confirmations sectionof the Environment Options dialog, the Summary Info window appears upon completionof the comparing process. This window contains information concerning the differencesbetween the compared databases.
-
DB Comparer for MySQL - User's Manual40
© 1999-2019 EMS Software Development
To disable this window for the future projects, check the Do not show summaryoption.
See also:
Creating Project
Opening / Saving Project
Compare Project Wizard
-
Part
III
-
DB Comparer for MySQL - User's Manual42
© 1999-2019 EMS Software Development
3 Working with project
Having created or opened a project, you see the Project window.
By default, the Project window contains the Database Tree, Source and Target ObjectDefinitions, Modification Scripts and Information windows.
When working with your project, you are provided with a powerful project toolbar which isavailable at the top of the project window.
Open project in Project Wizard.
Perform a full recompareView
Show/hide Identical node in the Database TreeChoose the way objects should be groupedShow/hide All objects node in the Database Tree
Reports (The same reports are available on the Reports pane on the right side)View Summary Info ReportView Summary Info with Chart ReportView Detailed Report
Open selected scripts in SQL Script Editor
Open all scripts in SQL Script Editor
-
DB Comparer for MySQL - User's Manual43
© 1999-2019 EMS Software Development
Execute selected scripts
Execute all scripts
- change script orderLayoutUse this drop-down list to specify a name for current positional layout of the windows. If
necessary, you can click the Save Layout toolbar button to save the layout for futureuse, or the Remove Layout toolbar button if you do not need the current layout anylonger.
See also:
Managing projects
SQL Script editor
Reports management
DB Comparer options
Console application
-
DB Comparer for MySQL - User's Manual44
© 1999-2019 EMS Software Development
3.1 Browsing database tree
The Database Tree contains the objects of both databases and is situated on the left(by default). It displays objects of both (source and target) databases side by side.
Database Tree consists of four major groups:
Different (objects are to be modified to become identical with the same objects in thesource/target databases)
Only Sourc e (objects that exist in the source database, but do not exist in the targetdatabase)
Only target (objects that exist in the target database, but do not exist in the sourcedatabase)
Ident ic a l (objects in the source database coincide with the ones in the targetdatabase)
Numbers in brackets next to the captions of the group nodes denote the amount ofobjects inside each group.
The objects which are identical in both databases are displayed in black (by default). Youcan customize all the colors using the Colors section of the Environment Options dialog.
If Forward Navigation is enabled within the Project Options section of the EnvironmentOptions dialog, upon selecting an element in the Database Tree the corresponding entrywill be selected in the Modification scripts window.
Note: You can expand and collapse lists of objects quickly using the context menu.Moreover, the context menu of the DB Tree allows you to open the appropriatemodification scripts in SQL Script Editor.
-
DB Comparer for MySQL - User's Manual45
© 1999-2019 EMS Software Development
To refresh the Database Tree, use the corresponding Refresh button on the toolbaror press Ct r l+F5. To refresh a selected group of objects only, right-click the node andselect the corresponding context menu item (e.g. Refresh tables if you want to refreshthe Tables group).
The context menu of the DB Tree allows you to:
open all scripts in SQL Script Editor;refresh all objects of the type (depending on the current selection in DB Tree);open a simple printing report of the tree;expand/collapse the selected node in the tree;enable Forward Navigation for the project.
-
DB Comparer for MySQL - User's Manual46
© 1999-2019 EMS Software Development
See also:
Viewing Summary Info
Viewing Objects Definition
Information window
Working with Modification Scripts
Switching windows
-
DB Comparer for MySQL - User's Manual47
© 1999-2019 EMS Software Development
3.2 Viewing objects definition
The Source Object Definition and the Target Object Definition windows contain theDDL structure (Data Definition Language) of the source and target database objects. Thisarea is read-only, hence you cannot modify object definitions using Object Definitionwindows.
For your convenience visual representation of definition differences is implemented: youcan see the corresponding DDL differences highlighted in both Object Definition windows.If necessary, you can customize the colors using the Colors section of the EnvironmentOptions dialog.
Note: You can show/hide these windows using the View | Source Object Definition andthe View | Target Object Definition main menu items.
Use the arrow buttons to quickly get to the Next\Previous or First\Last difference.
Popup menu
Use Synchronization to synchronize scrolling of the contents in both windows (i.e. whenyou scroll through one DDL text, the other scroll bar moves synchronously).
Use Copy Object Definition to copy the DDL displayed within the area to Windowsclipboard.
-
DB Comparer for MySQL - User's Manual48
© 1999-2019 EMS Software Development
See also:
Viewing Summary Info
Browsing Database Tree
Information window
Working with Modification Scripts
Switching windows
-
DB Comparer for MySQL - User's Manual49
© 1999-2019 EMS Software Development
3.3 Information window
The Information window displays detailed information on the database objects beingcompared.
Depending on the current selection in DB Tree, the Information window either lists thetotal count of different objects in the source and the target database (if a group ofobjects is selected in DB Tree) or contains the complete list of properties of the sourceobject as compared to the corresponding object in the target database (if a particularobject is selected in DB Tree).
If an object property in the source database differs from an object property in the targetdatabase , it is highlighted (red by default) in the Information window.
Use the button to hide identical objects.
-
DB Comparer for MySQL - User's Manual50
© 1999-2019 EMS Software Development
See also:
Viewing Summary Info
Browsing Database Tree
Viewing Objects Definition
Working with Modification Scripts
Switching windows
-
DB Comparer for MySQL - User's Manual51
© 1999-2019 EMS Software Development
3.4 Working with modification scripts
The Modification scripts window displays differences between the database objects as arow of modification scripts.
To change the direction of synchronization switch between Source to Target and Targetto Source tabs of the Modification scripts window.
Script typeAccording to the kind of difference between objects in the Source and the Targetdatabases, DB Comparer generates the following modification scripts:
ALT ER script: if there are different objects with the same name in the Source and theTarget databases, script of this type is generated to eliminate the differences;
CREAT E/ADD script: if an object exists in the Source database and it does not exist inthe Target database, script of this type is generated to create the object in the Targetdatabase;
DROP script: if an object exists in the Target database and it does not exist in theSource database, script of this type is generated to drop the object in the Targetdatabase.
Note: Synchronization is always performed in one direction (i.e. in one database)depending on the tab selected.
Note: To change the height of the script entries, use the List of modify scripts group ofoptions available within the Preferences section of the Environment Options dialog.
Note: multiple selection of script entries is possible with the Ct r l and Shift keys used.
-
DB Comparer for MySQL - User's Manual52
© 1999-2019 EMS Software Development
The context menu allows you to: find the object (the one used in the selected script) in DB Tree;
execute the selected modification script(s);execute all modification scripts of the project;
open the selected modification script(s) in SQL Script Editor;
open all modification scripts of the project in SQL Script Editor;
manage the order of the modification scripts;
copy the text of the selected script(s) to Windows clipboard.
See also:
Viewing Summary Info
Browsing Database Tree
Viewing Objects Definition
Information window
Switching windows
-
DB Comparer for MySQL - User's Manual53
© 1999-2019 EMS Software Development
3.5 Switching windows
The Windows Toolbar allows you to switch between child windows easily, like inWindows Task Bar.
To activate the window you need, simply click one of the window buttons.
See also:
Viewing Summary Info
Browsing Database Tree
Viewing Objects Definition
Information window
Working with Modification Scripts
-
Part
IV
-
DB Comparer for MySQL - User's Manual55
© 1999-2019 EMS Software Development
4 SQL Script editor
SQL Script Editor allows you to edit and execute SQL scripts for modifying compareddatabases.
How to open SQL Script Editor
Use Open all scripts in SQL Script Editor in the DB Tree popup menu or on thetoolbar.Double-click the modification script in the list or select the corresponding item of thecontext menu.Use Edit --> New SQL Editor from the main menu.
How to work with the script
The Database combo-box allows you to switch source/target databases where the scriptis to be executed.
Use Save to file button to save the current script.
Use Load from file button to load the script from *.sql file.
Press the Execute toolbar button (or F9) to execute the script.
For your convenience the syntax highlight, c ode c om plet ion and a number of otherfeatures are implemented. If necessary, you can enable/disable or customize most of SQLScript Editor features using the Editor Options dialog.
You can set the delay for code completion within the Quick code section or manuallyactivate the completion list using the Ct r l+Spac e shortcut.
-
DB Comparer for MySQL - User's Manual56
© 1999-2019 EMS Software Development
The context menu of SQL Script Editor area contains most of the standard text-processing functions (Cut, Copy, Paste, Selec t All) and specific functions for working withthe script:
the Quic k Code submenu allows you to select a character, to toggle comments, tochange case of currently selected text and to manage indents;saving and loading options;numerical bookmarks to make navigation within the script easier. Use the ToggleBookmarks context menu item to select a number to label the current code line. Ifyou want to jump to a bookmark, select the Goto Bookmarks context menu item andpick one of the existing bookmarks within the submenu;the Go to Line Num ber item allows you to jump to the specified line;you can drop marker (F2), collect marker (ESC) or swap markers (last dropped markerwill be moved to the current cursor position, and the cursor will be set to the initialmarker position);implementation of the Find Text and the Replace Text dialogs contributes to moreefficient work with the SQL code.
The Log area displays errors and messages on script execution. You can toggle displaying
-
DB Comparer for MySQL - User's Manual57
© 1999-2019 EMS Software Development
of errors and warnings with the corresponding buttons.
See also:
Managing projects
Working with project
Reports management
DB Comparer options
Console application
-
Part
V
-
DB Comparer for MySQL - User's Manual59
© 1999-2019 EMS Software Development
5 Reports management
DB Comparer for MySQL provides Report Designer for creating powerful reports.
By default, the Reports panel is located on the right side of the project window. It hassome sample reports which cannot be edited. Using its toolbar buttons you can create,delete, view and edit custom reports.
Report DesignerSample reports
See also:
Managing projects
Working with project
SQL Script editor
DB Comparer options
Console application
-
DB Comparer for MySQL - User's Manual60
© 1999-2019 EMS Software Development
5.1 Report designer
Report Designer allows you to create and edit reports. This tool is opened when youcreate a report in the Reports window or select any of the existing reports for editing.For your convenience there are several sample reports available.
This module is provided by FastReport (http://www.fast-report.com) and has its own helpsystem. Press F1 key in the Report Designer to call the FastReport help.
Please find the instructions on how to create a simple report in Report Designer below:
Adding bands
In order to add a band to the report:proceed to the Page1 tab of Report Designer;
select the Insert Band component on the toolbar (on the left);select the band to be added to the report;click within the working area - the corresponding element appears in the area;set element properties within the Properties Inspector.
Note: The Properties Inspector panel that allows you to edit report object propertiescan be shown/hidden by pressing the F11 key.
http://www.fast-report.com
-
DB Comparer for MySQL - User's Manual61
© 1999-2019 EMS Software Development
Adding report data
In order to add data to the report:proceed to the Data tab within the panel on the right side of the window;
pick an element within the Data tree and drag it to the working area;add all necessary elements one by one using drag-and-drop operation for each ofthem.
-
DB Comparer for MySQL - User's Manual62
© 1999-2019 EMS Software Development
Viewing the report
To preview the newly created report, select the Project | Preview main menu item or
use the corresponding Preview toolbar button. You can also use the Ct r l+P shortcutfor the same purpose. This mode allows you to view, edit and print the result report.
To print the report, use the Print toolbar button or the corresponding context menuitem.
-
DB Comparer for MySQL - User's Manual63
© 1999-2019 EMS Software Development
Saving the report
When all report parameters are set, you can save the report to an external *.fr3 file onyour local machine or in a machine in the LAN.
-
DB Comparer for MySQL - User's Manual64
© 1999-2019 EMS Software Development
To save the report, select the Project | Save main menu item or use the corresponding
Save Report toolbar button. You can also use the Ct r l+S shortcut for the samepurpose.
-
DB Comparer for MySQL - User's Manual65
© 1999-2019 EMS Software Development
5.2 Sample reports
There are several sample reports implemented in Report Designer: Detailed Info, Sum m aryInfo w ith Chart, Sum m ary Info.
Sample reports can be accessed from the utility toolbar or from the Reports panel on theright side.
Detailed infoThis sample report provides you with the complete list of compared database objects withtheir DDL, properties and their values.
-
DB Comparer for MySQL - User's Manual66
© 1999-2019 EMS Software Development
Summary Info With Info ChartUse this sample report to get graphical summary info about the compared databases.
-
DB Comparer for MySQL - User's Manual67
© 1999-2019 EMS Software Development
Summary InfoThe result of this report is a table with the summary numeric information about compareddatabases.
-
DB Comparer for MySQL - User's Manual68
© 1999-2019 EMS Software Development
-
Part
VI
-
DB Comparer for MySQL - User's Manual70
© 1999-2019 EMS Software Development
6 DB Comparer options
DB Comparer for MySQL provides full customization of the program interface, windowsbehavior, various options of all tools and more. This chapter informs you how to use theseoptions.
Environment Options - general options: environment style, confirmations, projectoptions, compare options, fonts, colors and more.
Editor Options - customizing of the SQL editing tool.
Visual Options - customizing program interface - bars, trees, menus, etc.
Keyboard Templates - managing keyboard templates for quicker typing regularly usedexpressions in SQL Script.
Selecting program language
See also:
Managing projects
Working with project
SQL Script editor
Reports management
Console application
-
DB Comparer for MySQL - User's Manual71
© 1999-2019 EMS Software Development
6.1 Environment options
Environment Options allow you to customize general options of the DB Comparerapplication.
To open the Environment Options window, select the Options | Environment
Options... main menu item, or use the Environment Options button on the maintoolbar.
PreferencesProject OptionsConfirmationsCompare OptionsFontsLocalizationColors
The Default button located at the bottom of the Environment Options form can beused to set option values to defaults.
See also:
Editor Options
Visual Options
Keyboard Templates
6.1.1 Preferences
Disable multiple instancesChecking this option prevents one from running multiple instances of DB Comparer forMySQL.
Save passwords into project fileIf this option is checked, database connection passwords are saved in project files.
Show splash screen at startupDisplays the splash screen of DB Comparer for MySQL at the application startup.
-
DB Comparer for MySQL - User's Manual72
© 1999-2019 EMS Software Development
Reports directory
Use the Explorer button to specify the directory where DB Comparer reports will bestored by default.
List of modified scripts
Row auto heightIf this option is selected, script row height in the Modification Scripts area is adjusted tothe content automatically.
Max row line countDefines the maximum number of lines displayed in each script row in the ModificationScripts area.
See also:
Project Options
Confirmations
Compare Options
Fonts
Localization
Colors
-
DB Comparer for MySQL - User's Manual73
© 1999-2019 EMS Software Development
6.1.2 Project options
Show project options before loadingIf this option is checked, you can modify connection options and other project optionsbefore loading the project in DB Comparer for MySQL.
Show object related scripts onlyIf this option is checked then the script of only selected in DB Tree object is displayed inthe Modification scripts window.
Hide identical objectsThis option can be used to hide the identical objects in DB Tree. It makes navigationeasier and may increase the navigation speed.
Load connection info for new projectsThis option can be used to insert the latest used login automatically when creating a newproject.
Load last password for new projects This option can be used to insert the latest used password automatically when creating anew project.
-
DB Comparer for MySQL - User's Manual74
© 1999-2019 EMS Software Development
See also:
Preferences
Confirmations
Compare Options
Fonts
Localization
Colors
6.1.3 Confirmations
Confirm exit from DB Comparer for MySQLIf this option is set, you are prompted for confirmation each time when you exit theapplication.
Autosave project before closingDisables/enables a confirmation window that appears upon closing the project. If theoption is checked, modifications made in the project are saved automatically.
Show summary after comparingToggles displaying the Summary Info window that appears after the comparison process isfinished.
Show message after successfully executed scriptToggles the Sc r ipt exec uted suc c essfully message upon successful script execution.
-
DB Comparer for MySQL - User's Manual75
© 1999-2019 EMS Software Development
Close progress dialog after successful completionIf this option is selected, the project dialog is closed automatically when the operation iscompleted successfully.
Confirm close projectIf this option is set, you are prompted for confirmation each time when you exit theproject.
See also:
Preferences
Project Options
Compare Options
Fonts
Localization
Colors
6.1.4 Compare options
This section of the Environment Options dialog allows you to set specific parameters ofcomparison for each type of database objects.
Select an object type in the object tree, set a flag to include the object type into thecomparison process and define Compare properties in the corresponding group withinthe Compare Options tab.
The Script generation group allows you to specify whether a specific type of script (CREAT E, ALT ER, DROP) should be generated for objects of the selected type.
The Select All, Unselect All and Invert Selection buttons are implemented to makeoptions selection easier.
-
DB Comparer for MySQL - User's Manual76
© 1999-2019 EMS Software Development
Case sensitive comparingEnable this option to make the comparing process case sensitive.
Compare invalid objectsEnable this option to allow the utility to compare broken or invalid objects.
Analyze renamed objectsThis option enables/disables comparing databases object which might have been renamed.
Show objects list
If this option is checked the list of all objects is displayed on the next step. If there is noneed to check the list of retrieved objects you can uncheck this option to speed upcomparison process.
Add comments to generated scriptUse this option to toggle comments in modification script.
Trim table and field description after n charactersThis option enables/disables cutting off the description for tables and fields after thespecified number of characters.
You can also set filtering criteria for objects to be compared. Use the Filter options tabfor that purpose. For details see Setting compare options.
-
DB Comparer for MySQL - User's Manual77
© 1999-2019 EMS Software Development
See also:
Preferences
Project Options
Confirmations
Fonts
Localization
Colors
6.1.5 Fonts
Application fontDefines the font used by DB Comparer for MySQL. Select the font name from the drop-down list of available system fonts.
Application font size Defines the font size used by DB Comparer for MySQL. Type in or use the spin editor tospecify the required value.The box below displays the sample text with the selected font applied.
-
DB Comparer for MySQL - User's Manual78
© 1999-2019 EMS Software Development
See also:
Preferences
Project Options
Confirmations
Compare Options
Localization
Colors
6.1.6 Languages
The Localization page is provided for managing DB Comparer localization files.
You can create your own *.lng files similar to those available in the %program_directory%\Languages folder, add them to the list of available languages and set the new languageas the program interface language.
Default directory
Use the button to specify the directory where the *.lng files are to be stored bydefault.
Choose program languageUse the drop-down list of available languages to select the interface language to beapplied to the application.
-
DB Comparer for MySQL - User's Manual79
© 1999-2019 EMS Software Development
In the Available Languages area the list of available languages and the names of thecorresponding localization (*.lng) files is displayed. You can manage the list of languagesusing the buttons below.
Add DefaultsAdds languages from the default directory to the list of available languages.
AddOpens the Add language dialog where you can specify your own localization file and setthe language name.
EditOpens the Edit language dialog where you can change the language name or selectanother localization file for the specified language.
DeleteRemoves the selected language from the Available languages list (withoutconfirmation).
See also:
Preferences
Project Options
Confirmations
Compare Options
Fonts
Colors
-
DB Comparer for MySQL - User's Manual80
© 1999-2019 EMS Software Development
6.1.7 Colors
This section of the Environment Options dialog allows you to set colors of variouselements used in your project: General colors used in DB Tree (Ident ic a l objec t s, Non-ident ic a l objec t s, Unique sourc eobjec t s, Unique target objec t s, Non-ident ic a l propert ies) and Definition View colors (Non-ident ic a l lines, Deleted lines, Added lines, Addit ional lines).
GeneralOptions of this group allow you to set colors for basic DB Tree elements. Select a system
color from the list or use the ellipsis button to open the Color dialog allowing you toselect the required color from the palette.
Definition ViewOptions of this group allow you to set colors for Definition View elements. Select a system
color from the list or use the ellipsis button to open the Color dialog allowing you toselect the required color from the palette.
See also:
Preferences
Project Options
Confirmations
Compare Options
Fonts
Localization
-
DB Comparer for MySQL - User's Manual81
© 1999-2019 EMS Software Development
-
DB Comparer for MySQL - User's Manual82
© 1999-2019 EMS Software Development
6.2 Editor options
Editor Options dialog allows you to set the parameters of SQL statements viewing andediting in DB Comparer for MySQL.
To open the Editor Options window, select the Options | Editor Options... main menu
item, or use the Editor Options button on the main toolbar.
GeneralDisplayColorQuick Code
See also:
Environment Options
Visual Options
Keyboard Templates
6.2.1 General
Auto indentIf this option is checked, each new indention is the same as in the previous line in SQLScript Editor.Indents and outdents are used in the process of text editing to make the source codeeasier to read.
Insert modeIf this option is checked, the insert symbols mode is on by default.
Use syntax highlight Enables syntax highlight in the editor area.
Find text at cursor If this option is checked, the Text to find field in the Find Text and the Replace Textdialog windows is automatically filled with the text the cursor is set over.
Always show hyperlinks If this option is checked, hyperlinks are displayed in the editor window. To open a link,click it with the Ct r l key pressed.
-
DB Comparer for MySQL