update  mysql.user set password=PASSWORD('123456')  where user='root'

grant all privileges  on *.* to root@'%' identified by "root";