我使用C#开发了应用程序表单,并将该应用程序与如下所示的MySQL数据库连接
string Coonstring = "datasource=localhost;port=3306;username=root;password=***;Charset=utf8";
string cmd = "select name from project.material ;";
MySqlConnection connectionDatabase = new MySqlConnection(Coonstring);
MySqlCommand cmddata = new MySqlCommand(cmd, connectionDatabase);
MySqlDataReader myreader;当我试图构建这个应用程序的时候。并创建安装文件,并将此安装文件发送到另一个膝上型计算机错误消息框,并显示“告诉我缺少MySQL主机”。

那我该怎么办?
https://stackoverflow.com/questions/23525370
复制相似问题