mysql8 GRANT user

mysql> CREATE USER 'mike'@'%' IDENTIFIED BY '000000';

 

mysql> GRANT ALL ON *.* TO 'mike'@'%' WITH GRANT OPTION;

 

错误:

Authentication to host 'localhost' for user 'root' using method 'mysql_native_password' failed

posted @ 2019-07-18 12:16  三重罗生门  阅读(1008)  评论(0编辑  收藏  举报