CREATE USER 'youruser'@'localhost' IDENTIFIED WITH unix_socket;
CREATE USER 'youruser'@'localhost' IDENTIFIED WITH auth_socket;
We can see the difference is that in Maria it is called "unix_socket" and MySQL "auth_socket".