Skip to main content

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


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)

Uploaded Source

Built Distribution

myloginpath-0.0.1-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

Details for the file myloginpath-0.0.1.tar.gz.

File metadata

File hashes

Hashes for myloginpath-0.0.1.tar.gz
Algorithm Hash digest
SHA256 d6dad5d873247ad1a978f267bc0d5605380bc43ac423a85a81c3536bc103c6c8
MD5 740f4862558b8e230b3fb9d32db88ef7
BLAKE2b-256 438f4a191df5f56a47c34d484d49d37a5e8bfd3380cad67207858534c3a76c0d

See more details on using hashes here.

File details

Details for the file myloginpath-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for myloginpath-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 1150cec7df3b421adee0cc239499a3f6dbbe41574e2ca7584ec7f5b277cd8c32
MD5 8501ec66c3eeffc660d022b5386524a7
BLAKE2b-256 07be0c27d7b8f331fd0e654322f2148570d378327363e9a4eed290a459de65ab

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page