actually I made a form application in visual studio which was like messenger that stores userdetails and messages in MySql Database tables(i used Mysql workbench to create database and tables)... however i connected it and it was successfull in the same computer...i compiled the form application as "release" and then copy the components that it had to other computer in which visual studio and MySQl was not installed.
when i run the application and clicked a button an error came that
Could not load file or assembly 'MySql.Data, Version=126.96.36.199, Culture=neutral, PublicKeyToken=c5687fc88969c44d' or one of its dependencies. The system cannot find the file specified.
I refered net and somewhere i read that the application folder should include MySql.Data.dll and so include it in my folder.....but now when i click that button i get:-
unable to connect to any of the specified MySql hosts.
can you please help me and tell me that what should i do?
I didn't find the right solution from the internet.
Visual Studio c++ forms and mysql database error
No replies to this topic
0 משתמשים קוראים נושא זה
0 משתמשים, 0 אורחים, 0 משתמשים אנונימיים