Skip to content

Instantly share code, notes, and snippets.

@kaldown
kaldown / rootPasswdReset
Last active September 26, 2018 14:13
vagrant(chef/centos-7.0; httpd, mariadb, php, docker, nc, unzip, tcsh)
UPDATE mysql.user SET Password=PASSWORD('sqlpasswd') WHERE User='root';
FLUSH PRIVILEGES;