6.1.3 Making MySQL Secure Against Attackers使MySQL免受攻击者的攻击

When you connect to a MySQL server, you should use a password. The password is not transmitted as cleartext over the connection.当你连接到MySQL服务器时,你应该使用密码。密码不会以明文形式通过连接传输。

All other information is transferred as text, and can be read by anyone who is able to watch the connection. If the connection between the client and the server goes through an untrusted network, and you are concerned about this, you can use the compressed protocol to make traffic much more difficult to decipher. 所有其他信息都以文本形式传输,任何能够观看连接的人都可以阅读。如果客户端和服务器之间的连接通过不受信任的网络,并且您对此感到担忧,则可以使用压缩协议使流量更难破译。You can also use MySQL's internal SSL support to make the connection even more secure. See Section 6.3, “Using Encrypted Connections”. 您还可以使用MySQL的内部SSL支持,使连接更加安全。请参阅第6.3节,“使用加密连接”Alternatively, use SSH to get an encrypted TCP/IP connection between a MySQL server and a MySQL client. 或者,使用SSH在MySQL服务器和MySQL客户端之间获得加密的TCP/IP连接。You can find an Open Source SSH client at http://www.openssh.org/, and a comparison of both Open Source and Commercial SSH clients at http://en.wikipedia.org/wiki/Comparison_of_SSH_clients.您可以在以下网址找到开源SSH客户端http://www.openssh.org/,并比较了开源和商业SSH客户端http://en.wikipedia.org/wiki/Comparison_of_SSH_clients

To make a MySQL system secure, you should strongly consider the following suggestions:为了使MySQL系统安全,您应该强烈考虑以下建议: