MySQL clients have long had a –ssl option. Casual users may think specifying this option will cause clients to secure connections using SSL. That is not the case:
D:\mysql-5.6.13-winx64>bin\mysql -uroot -P3307 --ssl Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 2 Server version: 5.6.13-log MySQL Community Server (GPL) Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> \s -------------- bin\mysql Ver 14.14 Distrib 5.6.13, for Win64 (x86_64) Connection id: 2 Current database: Current user: root@localhost SSL: Not in use ...
This behavior is clearly explained in the …
[Read more]