UPDATE mysql.user SET Password =OLD_PASSWORD('') where Host='localhost' AND user='root'; FLUSH PRIVILEGES