Answer the question
In order to leave comments, you need to log in
How to use MySQL 5.7.17 password in bash script?
I enter in the console:
echo "SHOW DATABASES;" | mysql -uroot -p$PASS
I get the answer:
mysql: [Warning] Using a password on the command line interface can be insecure.
Please use --connect-expired-password option or invoke mysql in interactive mode.
Can you tell me how to disable this security feature so that you can use the password directly in the request?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question