unix_socket
, auch bekannt als auth_socket
ist ein Nicht-Windows-Authentifizierungs-Plugin.
Ich würde mit der Variable skip-grant-tables
ALTER USER root@localhost IDENTIFIED VIA mysql_native_password USING PASSWORD("verysecret")
Entfernen Sie dann die Option „skip-grant-tables“ und starten Sie neu.