2013-07-17 40 views
0

我可以使用任何編程語言連接mysql數據庫而無需端口監聽(如3306)嗎?Mysql數據庫連接沒有端口監聽?

這可能嗎?

如果您的答案是肯定請詳細說明。
有什麼建議嗎?

+0

你有關於你問的事情的知識? – Freak

+0

是的,我對此有一些瞭解? – Ramesh

回答

1

MySQL支持多個協議

 
Protocol Connection Protocol        Permissible Operating Systems 
TCP  TCP/IP connection to local or remote server  All 
SOCKET Unix socket file connection to local server  Unix only 
PIPE  Named-pipe connection to local or remote server Windows only 
MEMORY Shared-memory connection to local server  Windows only 

一個端口僅用於TCP協議。

延伸閱讀

+0

你的回答很有幫助。謝謝 – Ramesh