MySQL: fix typos in my-add.sh

This commit is contained in:
Jérémy Lecour 2016-12-16 10:14:40 +01:00 committed by Jérémy Lecour
parent e0ca7c1f0e
commit d4a41457cb

View file

@ -1,6 +1,6 @@
#!/bin/sh
echo "Add an acount / database in MySQL"
echo "Add an account / database in MySQL"
echo "Enter the name of the new database"
read db
@ -8,12 +8,12 @@ echo "Enter account with all right on this new database"
echo "(you can use existant account)"
read login
echo -n "This account is already existant ? [y|N] "
echo -n "Does this account already exist ? [y|N] "
read confirm
if [ "$confirm" != "y" ] && [ "$confirm" != "Y" ]; then
echo "Waning, if account is existant, it will be reset !"
echo -n "Enter new password for new MySQL account (empty for random):"
echo "Warning, if account exists, it will be reset !"
echo -n "Enter new password for new MySQL account (empty for random): "
read -s password
echo ""