mysql default -temp password code example Example: mysql default -temp password grep 'temporary password' /var/log/mysqld.log