#MySQL5.7 update mysql.user set authentication_string=password('123qwe') where user='root' and Host = 'localhost'; flush privileges;
#other version mysql update user set password=password("root") where user="root"; flush privileges;