Connect to a remote MySql DB
-
Hi, i have a c# application that connects to a remote MySql database. The application is meant for a windows 2003 server. I have a refference to mySql.Data in my app. What do i need in order to get the application to connect to the database? Thanks!
-
Hi, i have a c# application that connects to a remote MySql database. The application is meant for a windows 2003 server. I have a refference to mySql.Data in my app. What do i need in order to get the application to connect to the database? Thanks!
-
Hi, i have a c# application that connects to a remote MySql database. The application is meant for a windows 2003 server. I have a refference to mySql.Data in my app. What do i need in order to get the application to connect to the database? Thanks!
I don't know why, but copying the dll (MySql.Data.dll) to the location of the application did the trick. I'll apreciate an explaination... Thanks again.
-
I don't know why, but copying the dll (MySql.Data.dll) to the location of the application did the trick. I'll apreciate an explaination... Thanks again.
If you just want to use MySql.Data.dll, you can set "CopyLocal = true" in reference property. Then the MySql.Data.dll will be copied automatically to Debug or Release directory. You can distribute it. To connect to remote DB, then what you need is connectionstrings.