Skip to content

Instantly share code, notes, and snippets.

View EAmarillo's full-sized avatar

Ernesto Amarillo EAmarillo

View GitHub Profile
@EAmarillo
EAmarillo / mysql_secure.sh
Last active March 22, 2019 15:59 — forked from Mins/mysql_secure.sh
Automating mysql_secure_installation
#!/bin/bash
// Not required in actual script
MYSQL_ROOT_PASSWORD=abcd1234
SECURE_MYSQL=$(expect -c "
set timeout 10
spawn mysql_secure_installation