MySQL Forums
Forum List  »  Connector/Python

How to use a new MySQL 5.6 --login-path parameter from scripts
Posted by: Vadim Pestovnikov
Date: July 19, 2013 03:22PM

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?

Options: ReplyQuote


Subject
Written By
Posted
How to use a new MySQL 5.6 --login-path parameter from scripts
July 19, 2013 03:22PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.