work, study, life ..........

Tuesday, March 10, 2009

MySQL 点滴1

Client和Server之间的连接,MySQL支持几种网络协议。我们可以看看下表:






一些协议为程序连接提供本地或者远程服务,其他的仅仅提供本地服务。 一些协议还特定的给出操作系的类型:

1.TCP/IP connections are supported by any MySQL server unless the server is started with the --skip-networking option.

2.Unix socket file connections are supported by all Unix servers.

3.Named-pipe connections are supported only on Windows and only if you use one of the servers that has -nt in its name (mysql-nt, mysql-max-nt). However, named pipes are disabled by default. To enable named-pipe connections, you must start the -nt server with the --enable-named-pipe option.

4.Shared-memory connections are supported by all Windows servers, but are disabled by default. To enable shared-memory connections, you must start the server with the --shared-memory option

No comments: