简体   繁体   English

如何运行安装了 mysql 连接器的 mysql 应用程序?

[英]How do i run a mysql app with mysql connector installed?

I made an C# app on visual studio, and this application works fine with MySQL Server.我在 Visual Studio 上制作了一个 C# 应用程序,这个应用程序可以在 MySQL 服务器上正常工作。

But on other machines, even with the MySQL Connector Net installed, it does not connect to MySQL.但在其他机器上,即使安装了 MySQL Connector Net,它也无法连接到 MySQL。

string ConnectionString = "server=localhost;uid=root;charset=utf8;";

Win7 x86, Visual Studio 2015, MySQL Server 6.3.3, MySQL Connector Net 8.0.29 Win7 x86、Visual Studio 2015、MySQL 服务器 6.3.3、MySQL 连接器网络 8.0.29

enter image description here在此处输入图像描述

Please Help me.请帮我。 Thanks.谢谢。

Shahab Taheri 尝试将“uid”更改为“user=root;password=”

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我如何在未安装mysql连接器的情况下运行mysql应用程序? - How do i run a mysql app without mysql connector installed? 尽管拥有正确的NuGet软件包,为什么我仍需要在计算机上安装MySQL连接器? - Why do I still need the MySQL Connector installed on the computer despite having the proper NuGet packages? 如何将 MySql 连接器导入 Unity 项目? - How do I import MySql Connector into Unity Project? 如何以编程方式获取MySQL Connector / NET驱动程序版本? - How do I get the MySQL Connector/NET driver version programmatically? 如何为包含数据库连接器的程序集设置绝对路径? 带有实体框架4.1的MySQL Connector 6.4.3 - How do I set the absolute path for a assembly containing Database connector? MySQL Connector 6.4.3 with Entity Framework 4.1 如何在Ubuntu [C#]中安装的mysql中存储映像? - How do I store images in mysql installed in Ubuntu [C#] ? 如何将MySQL连接器添加到UWP C#应用程序? - How to add the MySQL Connector to a UWP C# app? 使用与安装的连接器不同的MySql.Data版本 - Use a version of MySql.Data different than installed connector 如何在Mysql Connector / NET中省略对SqlNullValueException的检查 - How to omit checking for SqlNullValueException in Mysql Connector/NET 如何为C#获取新的mysql连接器 - how to get new mysql connector for c#
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM