<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Alex Tomkins - mysql</title>
    <link>https://www.alextomkins.com/tag/mysql/</link>
    <atom:link href="https://www.alextomkins.com/tag/mysql/feed.xml" rel="self" type="application/rss+xml" />
    <description>Posts tagged with mysql</description>
    <language>en</language>
    
    
    
    
    
    
    
    
    
    
    
    
    
    <item>
      <title>MySQL UNIX socket authentication</title>
      <link>https://www.alextomkins.com/2014/07/mysql-unix-socket-auth/</link>
      <guid>https://www.alextomkins.com/2014/07/mysql-unix-socket-auth/</guid>
      <pubDate>Sat, 26 Jul 2014 23:49:00 +0000</pubDate>
      <description><![CDATA[<p>It's not currently a default feature, but since MySQL 5.5.10 you can easily
<a href="https://dev.mysql.com/doc/refman/5.5/en/socket-authentication-plugin.html">enable UNIX socket authentication</a>.</p>
<p>Add the following to your MySQL config file::</p>
<pre><code>[mysqld]
plugin-load=auth_socket=auth_socket.so</code></pre>
<p>Restart MySQL, then you'll be able to use <code>IDENTIFIED WITH auth_socket</code> as a replacement for
<code>IDENTIFIED BY 'password'</code>.</p>
<p>Makes things easier for local installations for services running under a specific account, or for
limiting access to the root account to the local root user.</p>
]]></description>
    </item>
    
    
    
    
    
    
    
    
  </channel>
</rss>
