Hi I am new in C# programming and MySQL but I want to learn it. I have created a database in a MySQL workbench, in which I have created a table and inserted some data.
Now I want to use this database in my C# desktop application. But how do I connect C# with that database? I do not know where the database is located.
If I know the location then I can enter its address in connection string in C#, so my questions are
- After creating a database in MySQL workbench then where is the file saved?
- Should I place that database file with my
.exe
file ?