Solve the problem of MySQL 1251 client does not support

    problem display:
    solution
    Enter MySQL from the command line
    start MySQL service: net start MySQL
    login MySQL: MySQL - U root - P password
    View user information: select host, user, plugin, authentication_ string from mysql.user;
    modify user password:

    ALTER USER 'root'@'%' IDENTIFIED WITH mysql_native_password BY '123456';
    ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY '123456';
    

    Connection successful

Read More: