I have developed application which mainly uses sql databases to store and save data. My problem is, the application works well in my machine because MySQL Workbench installed locally in my machine and no problem with connections between the application and my sql. However once I installed the application in another computer, I can not work and am always getting (Unhandled exception has occurred in your application). I know that the problem is because of missing databases and sql in the second machine.
My question is: How can i use my applications in any machine without building the databse and its table every time in the new machine? is it possible to export sql databse and use it sepearately from MySQL workbench? By other words, is there any way which can make my application works well in any computer by using sql databse files in my application and make my software independent from MySQL workbench
What I have tried:
The problem can be solved; if I installed MySQL workbench in the second computer and setup the tables of database. each time should I do like this procedure.
How can I use the databses files in my application which can make the application useable in any software without installing MySQL each time.