[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] MYSQL Variables
- Subject: Re: [cobalt-users] MYSQL Variables
- From: Jens Kristian Søgaard <jens@xxxxxxxxxxxxxxxxxxxx>
- Date: Sat Apr 7 01:45:07 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Hi Rodolfo,
> The "mysql socket" you mention on the first line *is* the port. The port
is
> the only way MySQL accepts connections, and that's how most things work on
> a Linux box. Therefore it *must* be open as someone replied.
No, that is _not_ correct.
There is two totally different terms here:
1. TCP/IP port. This is a "networking" thing, and works for both local and
remote connections.
2. Unix socket. This can only be used for local connections, but is faster
than using the TCP/IP port.
You can setup MySQL to not allow TCP/IP connections, and thus only allow
local connections using Unix sockets.
--
Jens Kristian Søgaard, Mermaid Consulting I/S,
jens@xxxxxxxxxxxxxxxxxxxx,
http://www.mermaidconsulting.com/