Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

caching_sha2_password対応 #1

Open
wants to merge 1 commit into
base: herp-master
Choose a base branch
from
Open

Conversation

kgtkr
Copy link

@kgtkr kgtkr commented Dec 27, 2024

mysql 8.4で以下のテストプログラムが動くことを確認

{-# LANGUAGE OverloadedStrings #-}

module Main where

import Database.MySQL.Base
import qualified System.IO.Streams as Streams

main :: IO ()
main = do
  conn <-
    connect
      defaultConnectInfo {ciUser = "root", ciPassword = "testpass", ciDatabase = "testdb"}
  (defs, is) <- query_ conn "SELECT 1"
  print =<< Streams.toList is
  pure ()

@kgtkr kgtkr requested review from hiroqn and kakkun61 December 27, 2024 06:29
@kakkun61
Copy link
Member

@kgtkr 実装する上で参考にしたリファレンスドキュメントとかありますか? そっちも見つつコードの確認しようかと思って

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants