私と「5.7.11MySQLCommunityServer」のために働いた:
use mysql;
update user set authentication_string=password(''), plugin='mysql_native_password' where user='root';
'auth_socket'に設定されているため、'plugin'フィールドも変更する必要がありました。
その後、mysql -u rootとして接続できます。 パスワードなし。
私と「5.7.11MySQLCommunityServer」のために働いた:
use mysql;
update user set authentication_string=password(''), plugin='mysql_native_password' where user='root';
'auth_socket'に設定されているため、'plugin'フィールドも変更する必要がありました。
その後、mysql -u rootとして接続できます。 パスワードなし。