使用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