The idea is:
I want to create a visual environment for MySQL.
What will it do or how does it work:
According to the actions in the environment, MySQL code will be generated. Ie, let's say the user clicked on the "+" icon. Then the code is generated: CREATE DATABASE something;
I can handle this. The main problem is as follows:
How do I get the resulting code to then interpret in the MySQL debugger and create a .sql or dba file? Or can I just create a file with this extension and no longer need to interpret it ???
And if I created a file with this extension, how can I execute it ??? Can I somehow connect my program and the MySQL debugger (command line, which) after creating the file, inside the program, execute it and create a database?
I hope I could somehow bring my thoughts to you. If not, ask in the comments, I will answer you. Thanks in advance!
PS I will create a program in C ++ or in C #.