宽屏模式

clickhouse 连接报错 The server requested authentication method unknown to the client

在Windows中, 使用PHP 的mysqli或pdo连接clickhouse 时, 报错: The server requested authentication method unknown to the client 可能是密码认证方式有问题, 尝试使用明文和SHA256 哈希值都不行. 最后使用 双重 SHA1 哈希的形式指定密码 就可以了. 参考: https://clickhouse.com/docs/zh/operations/settings/settings-users#user-namepassword

Larwas
请先登录后发表评论
  • latest comments
  • 总共0条评论