将VB6.0连接到Web数据库mysql
问题描述:
我现在正在开发一个网站,我想将Web数据库连接到我的Visual Basic 6.0应用程序.
是否可以连接到mysql Web数据库?
我知道如何将mysql数据库连接到基于陆地的连接,但是我从未尝试将其连接到Web数据库.
请提供一个示例代码,说明我如何完成我的项目,因为我确实需要它.
谢谢
I am developing a website right now and I want to connect the web database to my visual basic 6.0 application.
Is it possible that I can connect to the mysql web database?
I know how to connect to mysql database to a land based connection but I never tried to connect it to a web database.
Please provide me a sample code on how I can do it as I really need it to finish my project.
Thanks
答
我希望您只需要在连接字符串中指定位置,但是考虑到VB6已经过时并且不受支持十年了,它就可以了.很难理解为什么有人使用它,并且很难知道十年前仍在开发中的我们认为基本的功能.
I would expect that you just need to specify the location in your connection string, but given that VB6 has been obsolete and unsupported for a decade, it''s hard to understand why anyone is using it and hard to know what functionality that we consider basic was added to it a decade ago, when it was still being worked on.
但是有可能吗?我可以在Web数据库上检索数据库记录?
我该如何连接它,即时通讯使用mysql odbc 5.1连接我的mysql数据库,您现在是否有人进行了这种连接.谢谢
But is it possible that i can retrieve database record on a web database?
how can i connect it, im using mysql odbc 5.1 for the connection of my mysql database, do you now somebody that has done this kind of connection. Thanks
总是最好在问题中添加您尝试过的内容.但是从快速的Google那里可以找到一个完整的解决方案
连接到远程mysql
its always best to also add in the question what you''ve tried. but from a quick google there is a complete solution for you
connect to remote mysql