LijingdeMacBook: ~ lijing $mysql - uroot -p
2. Enter the password
3. Enter the following the password 123456 to you
Mysql> The ALTER USER 'root' @ '%' IDENTIFIED WITH mysql_native_password BY '123456'.
Query OK, 0 rows affected (0.01 SEC)
4. Open the Navicat Premium can see already connected

