如何从防火墙后面连接到MySQL? [英] How can I connect to MySQL from behind a firewall?

查看:73
本文介绍了如何从防火墙后面连接到MySQL?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

对于学校,我需要制作一个使用MySQL数据库作为后端的C#应用​​程序.唯一阻止我执行此操作的方法是学校的大型防火墙阻止了端口80上HTTP流量以外的所有内容.

For school I need to make a C# application which uses a MySQL database as backend. The only thing which is stopping me from doing that is the big firewall of our school blocking everything except HTTP traffic on Port 80.

在端口80上托管MySQL数据库不是一种选择,因为那仍然没有HTTP流量.

Hosting the MySQL database on port 80 is not an option, because that's still no HTTP traffic.

有人知道我仍然可以连接到服务器的方式吗?

Does anyone know a way in which I can still connect to the server?

推荐答案

您只需在本地安装MySQL服务器并使用回送地址,就无需访问外部服务器.我喜欢使用wamp,它是一个Apache,PHP,MySQL服务器合而为一.

You could just install a MySQL server locally and use the loopback address, in that way you don't need to access an external server. I like using wamp, it's an Apache, PHP, MySQL server all in one.

这篇关于如何从防火墙后面连接到MySQL?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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