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
1 Answer 1
No, that's not possible. Better you do the migration first and then run a script over the copy to obfuscate fields.
-
do you mean that it's not possible because MySWL WB does not support this feature?fudo– fudo2020年05月18日 07:22:35 +00:00Commented May 18, 2020 at 7:22
-
1That is the case, yes.Mike Lischke– Mike Lischke2020年05月18日 07:44:15 +00:00Commented May 18, 2020 at 7:44
-
thanks, are you aware of other tools for this purpose? something working on-the-fly would be very appreciatedfudo– fudo2020年05月18日 08:13:01 +00:00Commented May 18, 2020 at 8:13
-
Never heard of any, no.Mike Lischke– Mike Lischke2020年05月18日 09:11:49 +00:00Commented May 18, 2020 at 9:11
has_high_blood_pressure
, if randomized might lead you about 50% of rows sayingyes
.CREATE TABLE
, and it creates som random days? (I have heard of such, but don't know of any off hand.)