<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Server configuration and authentication on Mimus</title><link>https://mimus.pgsty.com/docs/mysql/reference/</link><description>Recent content in Server configuration and authentication on Mimus</description><generator>Hugo</generator><language>en-US</language><atom:link href="https://mimus.pgsty.com/docs/mysql/reference/index.xml" rel="self" type="application/rss+xml"/><item><title>Password authentication and TLS</title><link>https://mimus.pgsty.com/docs/mysql/reference/authentication/</link><guid>https://mimus.pgsty.com/docs/mysql/reference/authentication/</guid><description>&lt;h2 id="plugins"&gt;Password authentication&#10;&lt;/h2&gt;&#10;&lt;p&gt;Authenticate as a PostgreSQL role with &lt;code&gt;LOGIN&lt;/code&gt; and &lt;code&gt;CONNECT&lt;/code&gt; on the target database. PostgreSQL evaluates &lt;code&gt;pg_hba.conf&lt;/code&gt; using that database, role, transport and client address. The first matching rule wins. MySQL schema selection and its privileges come later. The listener handles &lt;code&gt;reject&lt;/code&gt;, &lt;code&gt;trust&lt;/code&gt;, &lt;code&gt;password&lt;/code&gt;, &lt;code&gt;md5&lt;/code&gt;, &lt;code&gt;scram-sha-256&lt;/code&gt; and &lt;code&gt;cert&lt;/code&gt;; other HBA authentication methods return an unsupported-method error. &lt;a href="https://www.postgresql.org/docs/19/auth-pg-hba-conf.html"&gt;PostgreSQL HBA matching&lt;/a&gt;&lt;/p&gt;&#10;&lt;h3 id="caching-sha2"&gt;Full and cached login&#10;&lt;/h3&gt;&#10;&lt;p&gt;With MariaDB CLI 11.8.9 over TLS, a &lt;code&gt;trust&lt;/code&gt; rule accepts a passwordless login. Supplying a password on that path produces error 1047. For a password-based login, use a matching &lt;code&gt;scram-sha-256&lt;/code&gt; HBA entry.&lt;/p&gt;</description></item></channel></rss>