Skip to content

Reader/decoder for .mylogin.cnf -- MySQL's obfuscated authentication credentials login path file

License

Notifications You must be signed in to change notification settings

vipsoft/mysql-login

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VIPSoft\MySQLLogin

Reader/decoder for .mylogin.cnf -- MySQL's obfuscated authentication credentials login path file

Features

  • Simple to use!

    use VIPSoft\MySQLLogin;
    
    $reader = new MySQLLogin(get_env('HOME') . '/.mylogin.cnf');
    
    // get decoded credentials
    $credentials = $reader->get('client');
    
    $host = $credentials['host'];
    $user = $credentials['user'];
    $password = $credentials['password'];

References

Copyright

Copyright (c) 2023 Anthon Pang. See LICENSE for details.

Contributors

About

Reader/decoder for .mylogin.cnf -- MySQL's obfuscated authentication credentials login path file

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages