<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>服务器配置与认证 on Mimus</title><link>https://mimus.pgsty.com/zh/docs/mysql/reference/</link><description>Recent content in 服务器配置与认证 on Mimus</description><generator>Hugo</generator><language>zh-CN</language><atom:link href="https://mimus.pgsty.com/zh/docs/mysql/reference/index.xml" rel="self" type="application/rss+xml"/><item><title>口令认证与 TLS</title><link>https://mimus.pgsty.com/zh/docs/mysql/reference/authentication/</link><guid>https://mimus.pgsty.com/zh/docs/mysql/reference/authentication/</guid><description>&lt;h2 id="plugins"&gt;口令认证&#10;&lt;/h2&gt;&#10;&lt;p&gt;使用具备 &lt;code&gt;LOGIN&lt;/code&gt; 且对目标 PostgreSQL 数据库有 &lt;code&gt;CONNECT&lt;/code&gt; 权限的角色登录。&lt;code&gt;pg_hba.conf&lt;/code&gt; 按目标库、角色、传输方式与客户端地址匹配，第一条匹配规则生效；选择 MySQL schema 及检查其权限发生在后。该监听器处理 &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; 与 &lt;code&gt;cert&lt;/code&gt;；其他 HBA 认证方式会返回不支持错误。&lt;a href="https://www.postgresql.org/docs/19/auth-pg-hba-conf.html"&gt;PostgreSQL HBA 匹配规则&lt;/a&gt;&lt;/p&gt;</description></item></channel></rss>