Mysql 安全管理

服务器层面

1、修改mysql启动的端口号
2、防火墙,禁止所有非合法IP对mysql发起的连接请求。

Mysql安全配置

  1. Do not ever give anyone (except MySQL root accounts) access to the user table in the mysql database。
  2. Do not grant more privileges than necessary. Never grant privileges to all hosts.
  3. Do not store cleartext passwords in your database.
  4. 待续…

你可能感兴趣的:(mysql)