I am trying to set up a development and testing environment for the software of my new employer.
The data is quite complex and due to some shortcuts/bad architecture decisions of the company that built the software, fake data won't do. So our plan is to download an SQL dump of the production db, anonymize some sensitive information with a faker script and then load it into a locally running docker container.
But when I try that, I get different errors such as:
'You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near...'
So basically the dump which is from our hosting provider IONOS, is not compatible with my docker MySQL db. But both dbs, my dockered db and the one running on IONOS shared hosting, are version 8.0.36.
I have done the SQL dump via the web UI. We do not dare to download it via terminal.
Does anyone know of that problem and might suggest a fix?