A user wants to connect without entering his or her username and password on the Linux command prompt. Which three locations can be used to store the user’s mysql credentials to satisfy this requirement? (Choose three.)
A. $HOME/.my.cnf file
This is a common location for storing MySQL client configuration files, including user credentials.
D. $HOME/.mylogin.cnf file
The mylogin.cnf file is used to securely store credentials for MySQL client programs. It is designed for this purpose.
F. /etc/my.cnf file
The /etc/my.cnf file can be used to store MySQL client configuration options, including credentials, but it's typically used for global MySQL configuration and not individual user credentials.
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
FelipeK
3 months, 2 weeks agomarklv
4 months, 2 weeks ago