User Tools
Writing /app/www/public/data/meta/databaseandnetworkmanagement/compare_database_schema_pre_post_release.meta failed
databaseandnetworkmanagement:compare_database_schema_pre_post_release
Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| databaseandnetworkmanagement:compare_database_schema_pre_post_release [2016/10/05 14:56] – created mmcc | databaseandnetworkmanagement:compare_database_schema_pre_post_release [2021/06/25 10:09] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== Compare database schema pre/post release ====== | ||
| + | Author: Colum Foskin | ||
| + | |||
| + | |||
| + | ===== Initial Setup Steps ===== | ||
| + | |||
| + | * The first thing to do is to find out where to source the correct database schema - for pre and post release (Ask a dev to clarify this) | ||
| + | |||
| + | * Dump the databases for each application - Ensure to use the flag --no-data | ||
| + | < | ||
| + | |||
| + | * Do this on each server for pre/post comparison | ||
| + | |||
| + | * Use ftp to take them down to your local machine: | ||
| + | | ||
| + | |||
| + | * Create 2 databases for each application locally: | ||
| + | | ||
| + | |||
| + | * Important! before you proceed ensure that you have a ticketer and an snmp manager database locally - these are not used for the comparing, but to ensure no errors when loading the databases. | ||
| + | |||
| + | * If you do not have them then you will need to create them (the dump files will reference ticket.table and snmp_manager.table and your created ones will have different names so you will have errors) | ||
| + | |||
| + | * Then load the database dump file for each application to your created databases for before and after release eg: | ||
| + | | ||
| + | |||
| + | * Bring up the database for each application on both the before and after, then do a show tables to be sure the tables have loaded correctly locally (verify tables are correct) | ||
| + | |||
| + | ---- | ||
| + | |||
| + | ===== Install DB Solo ===== | ||
| + | |||
| + | * Install the application DBSOLO to do the comparing - the scrum laptop has it installed if needed (and mysql) | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||