On my Linux system, I always use a configuration file to log in to MySQL servers without having to enter my password every time. These files includes the username and password.
I have to encrypt this configuration file for security reasons. As a consequence of this, MySQL first has to decrypt this file and then read the password. Does MySQL have any APIs to encrypt/decrypt such configuration files? If no, is there any additional way to solve this problem?