mysql密码修改
./mysql -uroot -p
Enter password: root
mysql>use mysql
mysql>update user set authentication_string=password(“密码”) where user=”root”;
mysql>flush privileges;
mysql> quit;
mysql密码修改
./mysql -uroot -p
Enter password: root
mysql>use mysql
mysql>update user set authentication_string=password(“密码”) where user=”root”;
mysql>flush privileges;
mysql> quit;