mysql - yokohama/oreshic-record GitHub Wiki

TLS/SSL errorが出た場合の回避策

Message

mysql クライアント接続時に TLS/SSL 関連エラーが発生する場合の回避策。
--skip-ssl を指定することで TLS/SSL を使用せずに平文接続を行う。
検証環境や古いMySQLサーバー、自己署名証明書環境でエラーが出る場合に使用する。

Command

mysql -h 10.49.159.93 --skip-ssl -u root -p

Result

Tag

skip

はじめてのmysql

Message

{none}

Command

mysql -h 127.0.0.1 -P 3306 -u root -p

Result

Enter password: 
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MySQL connection id is 10
Server version: 9.6.0 MySQL Community Server - GPL

Copyright (c) 2000, 2018, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MySQL [(none)]> show databases;
+--------------------+
| Database           |
+--------------------+
| information_schema |
| mysql              |
| performance_schema |
| sys                |
+--------------------+
4 rows in set (0.015 sec)

MySQL [(none)]> exit
Bye

Tag

{none}

⚠️ **GitHub.com Fallback** ⚠️