Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

View dx-zone's full-sized avatar

Daniel Cruz dx-zone

View GitHub Profile
@Mins
Mins / mysql_secure.sh
Last active February 16, 2024 00:03
Automating mysql_secure_installation
#!/bin/bash
aptitude -y install expect
// Not required in actual script
MYSQL_ROOT_PASSWORD=abcd1234
SECURE_MYSQL=$(expect -c "
set timeout 10