问题原文
原帖链接 · Aun · CC BY-SA 3.0
I have searched around on the internet but could not find any satisfying answer. Can someone please guide, here are my confusions/questions.
- Can we run mysql on udp port instead of default tcp port?
- If running mysql on udp is possible, what are pros and cons?
社区高分解答
原帖链接 · drookie · CC BY-SA 3.0
It's not possible to run MySQL on UDP port, or using ICMP informational messages. Just because of it's design - it's a TCP application. To run it on UDP port it has to be rewritten in it's network part from scratch, to use UDP instead of TCP, which it's using now. Since it's opensource, it's pretty doable, but nobody so far have tried it. Mostly because nobody needs to run it on UDP.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
