Percona MySQL set new root password, CentOS 7

Temporary root password has been stored in the log file, please look:
grep "temporary password" /var/log/mysqld.log
Or in plain text:
grep "temporary password" /var/log/mysqld.log | sed "s/^.*localhost:.//"

No comments: