You must SET PASSWORD before executing this statement解决

SET PASSWORD = PASSWORD('123456');

原文地址:https://www.cnblogs.com/jh1994/p/4915464.html