[make] bdd hide user and password
avec la fonction @read
en bash.
Exemple:
@read -p "Enter mysql user name : " user; \
@read -s -p "Enter mysql password : " pw; \
echo "create database $(dbname)" | mysql -u $$usr -p $$pw
Un truc du genre quoi.