c# - 无法使用 Ubuntu 连接到 MySQL for .NET 应用程序部署在 Wine 中

标签 c# mysql ubuntu mono wine

下面是链接

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

其中包含从 Windows 应用程序连接到 MySQL 数据库的代码。它在 Windows XP 中运行良好。所以我创建了一个安装文件并使用 Wine 安装在 Ubuntu 中。 .

问题是数据没有在应用程序的数据 GridView 中弹出。

额外信息:

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)

截图一: 在 Windows 中它看起来像这样:

alt text

但是在 Ubuntu Linux(8.04) 中它没有出现,看起来像下面这样。

alt text

最佳答案

这听起来像 bug 33938 ,Linux 中的 Mono 环境似乎不支持 Windows 的 native codepage (1252).

关于c# - 无法使用 Ubuntu 连接到 MySQL for .NET 应用程序部署在 Wine 中,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1686852/

相关文章:

c# - 异步编程实际上与同步编程总共花费相同的时间

c# - 有没有办法指定不同命名空间中的同名扩展方法使用哪种扩展方法?

php - PHP 7.0 Phabricator 安装错误

java - null,来自服务器的消息 : "Host ' myserver' is not allowed to connect to this MySQL server"

Tomcat 8 无法在 ubuntu 上启动

c# - 使用 C# 自动进行 Subversion

c# - 使用 TPL FromAsync 实现套接字超时的异常处理

mysql - Spring管理的数据源中的connection.createStatement永远不会返回

mysql - sql 中的两个计数,但在不同的列中

c - 当我尝试使用 ./secondo 执行此代码时,我收到此错误