Index ¦ Archives ¦ Atom > Tag: mysql

MySQL UNIX socket authentication

It's not currently a default feature, but since MySQL 5.5.10 you can easily enable UNIX socket authentication.

Add the following to your MySQL config file:


Restart MySQL, then you'll be able to use IDENTIFIED WITH auth_socket as a replacement for IDENTIFIED BY 'password' …

© Alex Tomkins.