I want to read one of the mysql accounts password from environment variable. Is it possible ? If so how can I do that?
I see there are other ways to do it, but would like to check this option. Also, want to know the pros & cons in doing that way. Since I'm pretty new to Linux environment I'm trying to explore the best possible ways.
Thank you.
procfilesystem and read your exported environment variables. You're better of putting the password in a hashed file or on filesystems that require authentication such as kerberized nfs.