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