database - How to find out the MySQL root password -
i cannot figure out mysql root password; how can find out? there file password stored?
i following link not have directadmin directory in local.
thanks @thusharak reset root password without knowing old password.
on ubuntu did following:
sudo service mysql stop sudo mysqld_safe --skip-grant-tables --skip-syslog --skip-networking then run mysql in new terminal
mysql -u root and run following query, after changing password
update mysql.user set password=password('password') user='root'; flush privileges; quit mysql safe mode , start mysql service by
mysqladmin shutdown sudo service mysql start
Comments
Post a Comment