Change the Mysql root user password
- 2020-12-19 21:14:33
- OfStack
New mysql downloaded, password is empty, how to modify root password:
Go to mysql first
use mysql;
update user set password=password('new_password') where user='root';
flush privileges;
Pay attention to
flush privileges;
Change the content of Mysql root user password this site will give you here, hope to help you!