Wireless Army
This is a blog / tips and tricks website for web developers and security researchers.
follow us in feedly


reset mysql password
by admin
 at 2018-10-07 19:27:00.

if you forgot your mysqlcpassword you can change still change it.
first stop it.
service mysql stop
the create a file called mysql-init containing
UPDATE mysql.user SET Password=PASSWORD('MyNewPass') WHERE User='root';
FLUSH PRIVILEGES;
then run this command:
mysqld_safe --init-file=/home/me/mysql-init &