Ramesh
Ramesh

Reputation: 43

Mysql database connection without port listening?

can I connect mysql database without port listening ( like 3306 ) using any of the programming language?

is it possible?

if your answer is yes please explain detailed.
Any suggestions?

Upvotes: 0

Views: 2059

Answers (1)

peterm
peterm

Reputation: 92795

MySql supports several protocols

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

A port is used only for TCP protocol.

Further reading

Upvotes: 1

Related Questions