I have a website with a very old and badly designed database (MySQL). I'm creating a new version of the website and I have defined another database (MySQL) which is of course better designed (normalized e.a.)
Now I have the problem of transferring the data of the old database to the new database. I cannot use mysqldump as the layout of the tables and references e.a. are completely different, although some of the attributes are the same.
So my question is what is the best practices to this kind of work. E.g.
A table Customer with attributes name, street,something unimportant to new Customer table with attributes name,street,something new and important
What about tables with Foreign Keys e.a. ?
Kind regards
Jens Buysse
ALTER TABLEstatements, you'll need to code a custom data migration script. No standard third-party tool will do it for you.