使用Vc ++ / Vbscript。我可以连接到Mysql Server(不在本地服务器中)吗?) [英] Using Vc++/Vbscript. Can I Able To Connect To Mysql Server (Not In Local Server)?)

查看:59
本文介绍了使用Vc ++ / Vbscript。我可以连接到Mysql Server(不在本地服务器中)吗?)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

HI全部,



任何人都可以提供清晰的信息来连接MySQL服务器 - 该服务器位于不同的位置。但是它能够连接到我的机器。



我还将提供ip,端口号,数据库名称,用户名和密码。



我有安装了c ++的mysql连接器。我在开发一个简单的vc ++应用程序以连接到MYSQL服务器时遇到了很多问题。



谢谢。,

Looser

HI All,

Can any one provide the clear information to connect the "MySQL" server - which is available in different location. But it's able to connect to my machine.

I will provide the ip,port number,database name , user name and password also.

I have the mysql connector with c++ installed. I am getting to many issues to develop a simple vc++ application to connect to the MYSQL Server.

Thanks.,
Looser

推荐答案

请参阅 https://www.connectionstrings.com/mysql/ [ ^ ]。此外,如果您需要帮助,那么您需要具体了解您的问题并向我们提供详细信息。说我遇到很多问题没有告诉我们什么。
See https://www.connectionstrings.com/mysql/[^]. Also, if you want help, then you need to be specific about your problem and give us the details. Saying "I am getting to many issues" does not tell us anything.


我的意图是我必须开发一个VC ++ / VB.vbs文件/可执行文件,作为参数的输入。那就是读取参数然后尝试连接mysql服务器。如果失败,则发送响应连接失败。如果成功连接,则返回成功声明。



谢谢,

宽松
My intention is i have to develop a VC++/VB.vbs file/executable, which is taken as inputs as arguments. That is reads the arguments then try to connect the mysql server. If it is failed send a response connection failed. if successfully connected then return the success statement.

Thanks,
Looser


这篇关于使用Vc ++ / Vbscript。我可以连接到Mysql Server(不在本地服务器中)吗?)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆