You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[root@host ~]# mysql
Welcome to the MariaDB monitor. Commands end with ; or \g.
Your MySQL connection id is 7576589
Server version: 5.6.10 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 status like 'Ssl_cipher';
+---------------+--------------------+
| Variable_name | Value |
+---------------+--------------------+
| Ssl_cipher | DHE-RSA-AES256-SHA |
+---------------+--------------------+
1 row in set (0.00 sec)
MySQL [(none)]>
However, when using this file with MySQLdb, the SSL options appear to be ignored:
>>> import MySQLdb
>>> db=MySQLdb.connect(read_default_file="/root/.my.cnf")
>>> db.query("show status like 'Ssl_cipher'")
>>> r=db.store_result()
>>> r.fetch_row()
(('Ssl_cipher', ''),)
Using version 1.2.5 on CentOS
The text was updated successfully, but these errors were encountered:
I have a cnf file that works with the MySQL client:
However, when using this file with MySQLdb, the SSL options appear to be ignored:
Using version 1.2.5 on CentOS
The text was updated successfully, but these errors were encountered: