Search code examples
c#mysqlubuntumonowine

Can't connect to MySQL for .NET application deployed in Wine using Ubuntu


Below is the link

How to insert,delete,select,update values in datagridview in C# using MYSQL

which has the code to connect to a MySQL datbase from a Windows application. It works fine in Windows XP. So I have created a setup file and installed in Ubuntu using Wine.

The issue is with the data not getting popped up in the datagridview of the application.

Extra information:

Wine is working fine by which i have installed small desktop application MySql with connector,Mono IDE are already installed.

It is even possible for me to create small applications using mono>(excluding database)

Screenshot 1: In Windows it looks like this:

alt text

But in Ubuntu Linux(8.04) it doesn't show up and looks like below.

alt text


Solution

  • HI all,

    Thanks for the all the help and support from all of you.

    I have installed crossover trail version which supports datagridview. Please follow the link to find the answer.

    http://www.talkonsomething.com/2009/11/how-to-connect-mysql-database-from-windows-xp-to-ubuntu/