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

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

本文介绍了如何在必须从远程服务器检索数据的其他系统上部署MYSQL应用程序。的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 大家好, 问题是我无法从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应用程序。的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
08-15 04:39