Skip to content

About

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

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

2 Commits

Folders and files

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

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages