vb.net程序无法连接到wampserver
我有一个使用 mysql 作为数据库的 vb.net 程序。当计算机安装了 wampservr 时它就可以工作。但是,当运行该程序的计算机没有 wampserver 时,该程序会收到未处理的异常错误。其中唯一安装的是 mysql 连接器网络。我该如何让它发挥作用。我只是想让这两个程序访问同一个mysql数据库。 我已经通过配置防火墙打开了20端口。 TCP 和 UDP 都可以。我该怎么办?我需要调整代码吗?
I have a vb.net program that uses mysql as its database. And it works when the computer has wampservr installed. But the program gets an unhandled exception error when the computer where its running does not have a wampserver. The only thing that is installed in it is the mysql connector net. How do I make it work. I just want the two programs to access the same mysql database.
I already opened port 20 by configuring firewall. Both in TCP and UDP. What do I do? Do I have to tweak the codes?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
在你没有安装wampserver的机器上,你自己安装了MySql吗?
如果我正确理解你的问题,听起来它在连接数据库时遇到问题,因为它不存在。
on the machine that you dont have wampserver installed, do you have MySql installed by itself?
If I understand your question correctly, sounds like its having trouble connecting to the database because its not there.