mirror of
https://github.com/IT4Change/gradido.git
synced 2026-02-06 09:56:05 +00:00
remove unneccessary file
This commit is contained in:
parent
1258d43d38
commit
abda419a28
@ -1,33 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
#// Not required in actual script
|
||||
MYSQL_ROOT_PASSWORD=abcd1234
|
||||
|
||||
SECURE_MYSQL=$(expect -c "
|
||||
|
||||
set timeout 10
|
||||
spawn mysql_secure_installation
|
||||
|
||||
expect \"Enter current password for root (enter for none):\"
|
||||
send \"$MYSQL\r\"
|
||||
|
||||
expect \"Change the root password?\"
|
||||
send \"n\r\"
|
||||
|
||||
expect \"Remove anonymous users?\"
|
||||
send \"y\r\"
|
||||
|
||||
expect \"Disallow root login remotely?\"
|
||||
send \"y\r\"
|
||||
|
||||
expect \"Remove test database and access to it?\"
|
||||
send \"y\r\"
|
||||
|
||||
expect \"Reload privilege tables now?\"
|
||||
send \"y\r\"
|
||||
|
||||
expect eof
|
||||
")
|
||||
|
||||
echo "$SECURE_MYSQL"
|
||||
Loading…
x
Reference in New Issue
Block a user