update mysql version centos 7 code example Example: how to setup mysql on centos 7 sudo grep 'temporary password' /var/log/mysqld.log