MySQL login path file reader
Project description
MySQL's login path file reader
Decrypt and parse MySQL's login path file.
See also: https://dev.mysql.com/doc/refman/8.0/en/mysql-config-editor.html
Example
$ mysql_config_editor set --login-path=client --host=localhost --user=localuser --password
Enter password: <Type password here>
import myloginpath, MySQLdb
conf = myloginpath.parse('client')
print(conf) # {'host': 'localhost', 'user': 'localuser', 'password': 'secretstring'}
conn = MySQLdb.connect(**conf, db="myapp")
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
myloginpath-0.0.1.tar.gz
(2.6 kB
view details)
Built Distribution
File details
Details for the file myloginpath-0.0.1.tar.gz
.
File metadata
- Download URL: myloginpath-0.0.1.tar.gz
- Upload date:
- Size: 2.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d6dad5d873247ad1a978f267bc0d5605380bc43ac423a85a81c3536bc103c6c8 |
|
MD5 | 740f4862558b8e230b3fb9d32db88ef7 |
|
BLAKE2b-256 | 438f4a191df5f56a47c34d484d49d37a5e8bfd3380cad67207858534c3a76c0d |
File details
Details for the file myloginpath-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: myloginpath-0.0.1-py3-none-any.whl
- Upload date:
- Size: 2.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1150cec7df3b421adee0cc239499a3f6dbbe41574e2ca7584ec7f5b277cd8c32 |
|
MD5 | 8501ec66c3eeffc660d022b5386524a7 |
|
BLAKE2b-256 | 07be0c27d7b8f331fd0e654322f2148570d378327363e9a4eed290a459de65ab |