A crude (but effective) way of doing it would be to dump the schema into a file, carefully apply the search-and-replace and then re-import.
As a matter of fact I did that today 🙂
More Related Contents:
- Replace Into Query Syntax
- WooCommerce: Finding the products in database
- ‘IF’ in ‘SELECT’ statement – choose output value based on column values
- 1052: Column ‘id’ in field list is ambiguous
- How to do a batch insert in MySQL
- Count the occurrences of DISTINCT values
- Codeigniter – multiple database connections
- Column count doesn’t match value count at row 1
- JOIN queries vs multiple queries
- Is the primary key automatically indexed in MySQL?
- Storing Data in MySQL as JSON
- MySql: MyISAM vs. Inno DB! [closed]
- MySQL: Cloning a MySQL database on the same MySql instance
- DOs and DONTs for Indexes [closed]
- How to change the default port of mysql from 3306 to 3360
- #1273 – Unknown collation: ‘utf8mb4_unicode_520_ci’
- How to insert images from database?
- Is there an SQLite equivalent to MySQL’s DESCRIBE [table]?
- When to use MyISAM and InnoDB? [duplicate]
- Alternative to using LIMIT keyword in a SubQuery in MYSQL
- How to insert a file in MySQL database?
- How do I rename a MySQL database (change schema name)?
- Foreign key to one of many tables?
- Find date range overlaps within the same table, for specific user MySQL
- Rename a table in MySQL
- What’s the recommended way to connect to MySQL from Go? [closed]
- How to store Query Result in variable using mysql
- How to find all the relations between all mysql tables?
- How to speed up sql queries ? Indexes?
- How to reuse auto_increment values? [duplicate]