Thursday 31 August 2017

Grep Temp Password from MySQL

As of now for latest MySQL version there is a default password. To get this password tail mysql.log file and restart MySQL instance, and you will found MySQL temporary password.

              grep 'temporary password' /var/log/mysqld.log

Restart MySQL instance

# /etc/init.d/mysqld restart

OR

# /etc/init.d/mysql restart

No comments:

Post a Comment

Enable 'HTML Manager'- Apache Tomcat

 Enable 'HTML Manager'- Apache Tomcat Go to Apache-tomcat's home directory and edit the tomcat-users.xml ${apache_home}/conf/tom...