mysql>use mysql;
mysql>update user set password=PASSWORD(“여기다비번입력”)where User=’root’;
mysql>flush privileges;
mysql>quit;
mysql>mysql -u root -p
mysql>use mysql;
mysql>update user set password=PASSWORD(“여기다비번입력”)where User=’root’;
mysql>flush privileges;
mysql>quit;
mysql>mysql -u root -p