Skip to content
Snippets Groups Projects
Commit 43b602e0 authored by Adriaan Renting's avatar Adriaan Renting
Browse files

Task #10981: Added script to read and process MoM DB dump

parent e38c7022
No related branches found
No related tags found
No related merge requests found
#!/usr/bin/python
# This script reads infile and creates sql files for each part in the infile in the
# outdir directory. It also replaces references to the indatabase with references
# to the outdatabase.
# It creates a file for each view and table and trigger that is defined in the infile.
# It creates separate files for filling the tables.
# The script assumes the infile is a dump of a MySQL MoM 3 database.
infile = "backup_lofar_mom3.sql.1"
indatabase = "lofar_mom3"
outdatabase = "lofar_mom_test_rt_trigger"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment