I have a C# application that update MySQL database. If I want to deploy that application to other client machines, do those client machines need to be install with MySQL also?
for those client machines without MySQL install, it gives the Unhandled exception that Could not load file or assembly "MySql.Data, Version=6.1.3.0".
I think there should be some way to work around this, like putting Mysql.data.dll into the bin folder and compile, will it work?

1 answers
yes you need the MYSql connector on the client machine in order to connect to MYSql and no need for the MYSql server. In the references folder in ur project set the Mysql reference properties of copy local to true so the dll is copied to the bin folder. if this didn't work then install the MYSql connector on the client machine "the connector you installed for developing the .net application" and i think it will work fine.
answered one year ago by:
1556