来自C#程序的mysql数据库连接错误 [英] Error in mysql database connection from c# program

查看:75
本文介绍了来自C#程序的mysql数据库连接错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,

我无法使用C#应用程序中的机器IP(172.168.10.27)连接到机器中的mysql数据库

但我可以使用ip名称(例如127.0.0.1)和localhost连接

网络没问题,与邻居计算机的连接正常
请帮助
谢谢

我想你需要弄清楚数据库是否暴露在网络上,注意任何错误消息,考虑告诉我们出了什么问题,等等. .


Hello ,

I can''t connect to mysql database in my machine with the ip of my machine(172.168.10.27) from a c# application

But i can connect with ip name such as 127.0.0.1 and localhost

No problem to the network, connection ok with the neighbour machine
plz help
thanks

解决方案

I guess you need to work out if your database is exposed on the network, pay attention to any error messages, consider tellng us what is going wrong, etc.


这篇关于来自C#程序的mysql数据库连接错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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