搜索MySQL commond line并打开
mysql -uroot -p
输入原先密码
use mysql;
update mysql.user set authentication_string=password('root') where user='root' ;
FLUSH PRIVILEGES;
exit;
搜索MySQL commond line并打开
mysql -uroot -p
输入原先密码
use mysql;
update mysql.user set authentication_string=password('root') where user='root' ;
FLUSH PRIVILEGES;
exit;