mysql/mysql-server — pull request #1 by dveeden (2014-10-27 09:41:56+00:00)
Title: Make auth_socket more flexible.

Now supports "AS ''" so it doesn't have to be a 1-on-1 mapping.

Example:
CREATE USER 'foo'@'localhost IDENTIFIED WITH auth_socket AS 'myuser';