我如何通过vb6.0从远程计算机连接到mysql服务器 [英] How can i connect to mysql server from a remote machine through vb6.0

查看:501
本文介绍了我如何通过vb6.0从远程计算机连接到mysql服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我尝试了此连接,但给出了错误

adodb连接名称.ConnectionString =驱动程序= {MySQL ODBC 5.1驱动程序};数据库=数据库名称;服务器=服务器ip;端口= 3306;选项= 19;用户标识=用户名;密码=密码;

其给出运行时错误2147467259(80004005)[mtsql] [ODBC 5.1驱动程序]主机不允许连接到此mysql服务器

任何人都可以帮助我:confused:

i tried this to connect but its giving an error

adodb connection name.ConnectionString = Driver={MySQL ODBC 5.1 Driver};Database=databasename;Server=serverip;Port=3306;Option=19;Uid=username;Pwd=password;

its giving an runtime error-2147467259(80004005) [mtsql][ODBC 5.1 driver] host is not allowed to connect to this mysql server

any one plz help me:confused:

推荐答案

shrikant.kudlur写道:
shrikant.kudlur wrote:

它给出了错误,例如不允许主机连接到mysql服务器的主机

its giving an error like the host not allowed to connect to mysql server



如果您必须使用已经使用了十年的死语,这种语言一直很烂,现在完全不被支持,那么通过告诉我们ACTUAL错误消息至少可以使我们更轻松一些.

该错误似乎表明MySQL已配置为不允许此连接,无论是通过网络还是在本地计算机上.

无论哪种方式,VB6都是废话,一直如此,在2010年学习使用它肯定是愚蠢的.



If you must use a language that has been dead for a decade, that always sucked and that is totally unsupported now, at least make things a bit easy for us by telling us the ACTUAL error message.

The error seems to suggest that MySQL is configured to not allow this connection, is it over a network, or on the local machine.

Either way, VB6 is crap, it always was, and certainly it is dumb to be learning to use it in 2010.


这篇关于我如何通过vb6.0从远程计算机连接到mysql服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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