Hi,
I am using Digital Ocean MySQL database service with MySQL workbench to manage it (Version 8.0.22 build 107600 CE 64 bit).
I have succesfully connected to the database with MySQL workbench and can see my schema and tables. However i am not enable to reverse engineer my scheme into an ER model. When it imports the MySQL table objects it says:
Steps to reproduce
Does anyone have this issue and knows a solution for it?
Thanks in advance
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Asked DigitalOcean support and they managed to find a solution.
Remove ANSI_QUOTES from Global SQL Mode for the managed database server and it worked for me.
I managed to solve this problem by changing the setup connection configuration to Database from MySQL Workbench. Please change for below:- MySQL Workbench > Advance > SQL_MODE = TRADITIONAL
After setting this parameter, then, you can reverse engineer and complete all the subsequent steps using the step-by-step wizard from the reverse engineer menu for your desire database.
Hope this solution solve your problem too.
Want to learn more? Join the DigitalOcean Community!
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Sign up now
I found a “patch solution”. I export only the structure of the schema in question from the digitalocean database and, in a local environment on my computer, I generate the model from it. Not the optimal way, but it worked for me. I hope this helps you with something.