如何在必须从远程服务器检索数据的其他系统上部署MYSQL应用程序。

编程入门 行业动态 更新时间:2024-10-18 19:30:13
本文介绍了如何在必须从远程服务器检索数据的其他系统上部署MYSQL应用程序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

大家好, 问题是我无法从MySQL远程服务器检索任何数据到客户端系统或具有该可执行文件的其他系统。所以请给我一个解决方案,从我远程托管MySQL的远程服务器访问MySQL数据。 我只想要那个可执行文件复制并粘贴到其他系统中,同时运行从远程服务器应用程序构建的可执行文件,在客户端系统中执行并检索数据。 我尝试了什么: 我尝试通过授予权限远程创建MySQL服务器,但是当我在C#中编译和构建MySQL应用程序时它创建一个可执行文件,当我将该可执行文件复制到其他系统甚至不存在MySQL的系统时,它显示错误未指定的主机。

Hello everyone, The problem is i cant able to retrieve any data from MySQL remote server to the client systems or other systems with that Executable file . So please give me a solution to access MySQL data's from the remote server where i hosted MySQL remotely. I just want that Executable file which is copy and pasted in other system s and while running that Executable file which is build from remote server application to be executed in client systems with retrieval of data's. What I have tried: I tried creating a MySQL server remotely its done by granting privileges but when i compile and build the MySQL application in C# it creates a Executable file and when i copy that Executable file into other systems where those systems doesn't even exist MySQL it is showing me error "unspecified host".

推荐答案

从C#访问MySql表很容易,但是完成服务器端代码是另一回事,那么PHP将是更好的选择。以下是如何使用C#中的MySql表的示例:将C#连接到MySQL [ ^ ] 另一个例子:使用C#插入,更新,删除,在MySQL中显示数据 [ ^ ] It is easy to access MySql tables from C#, but doing server side code is another thing altogether, then PHP would be a better choice. Here is an example of how to use MySql tables from C#: Connect C# to MySQL[^] And another example: Insert, Update, Delete, Display Data in MySQL Using C#[^]

更多推荐

如何在必须从远程服务器检索数据的其他系统上部署MYSQL应用程序。

本文发布于:2023-11-25 22:57:36,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1631682.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:应用程序   服务器   数据   如何在   系统

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!