Quantcast
Channel: MySQL Forums - Connector/Python
Viewing all articles
Browse latest Browse all 384

How to use a new MySQL 5.6 --login-path parameter from scripts (no replies)

$
0
0
Hi,
I am trying to find a way how to use a new MySQL 5.6 encrypted credential file mylogin.cnf from python scripts.

I checked MySQLdb and MySQL connector libraries and didn't find any information so far. On the other hand all MySQl 5.6 command line tools like mysql, musqldump and etc. have this ability by specifying this parameter --login-path.

Of course I can write a wrapper to mysql command line client but I want to use native libraries such as MySQLdb or mysql connector.

Any ideas?

Viewing all articles
Browse latest Browse all 384

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>