update mysql.user set Password=password("123456") where User="root"; 
flush privileges;