Mysql – Obfuscate data during migration with MySQL Workbench

migrationMySQLmysql-workbench

Is it possible to obfuscate sensible data during migration using MySQL Workbench?

We are going to work on site so we need to make a copy for develpment but the (MySQL) database contains sensible user data that need to be obfuscated for obvoius privacy reasons.

I already used MySQL WB migration wizard so it's not new to me, but i can't figure it out if it can obfuscate/alter data during migration apart from columns/tables definition.

Maybe it just can't, maybe there are better tools/ways to do what i need, but using a tool i already know and that can automagically create sql/ssh scripts would be better of course.

Precisation

with 'obfuscation' i mean any avalable way to alter data.
E.g.:

  • transform user first_name property to something like <user_id>_first_name
  • change any login password to a standard one
  • replace fiscal code with a random string
  • etc

Best Answer

No, that's not possible. Better you do the migration first and then run a script over the copy to obfuscate fields.