How to require SSL for all remote users

前端 未结 3 1311
一向
一向 2020-12-29 20:52

Given a MySQL system with multiple remote users (users of the form \'joecool\'@\'192.168.1.2\'); is there a SQL statement I can use to REQUIRE SSL

3条回答
  •  自闭症患者
    2020-12-29 21:29

    Yes, you can modify the mysql.user table directly (be careful). Then you just issue a FLUSH PRIVILEGES statement to apply the changes to the running server.

提交回复
热议问题