From c8916cb4933f00fc9db76496dde5fed710da88f6 Mon Sep 17 00:00:00 2001 From: parsonsmatt Date: Fri, 26 Mar 2021 14:40:57 -0600 Subject: [PATCH] run mysql tests --- README.md | 1 + test/MySQL/Test.hs | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 9906a99..e3cfaf1 100644 --- a/README.md +++ b/README.md @@ -487,5 +487,6 @@ user which can access it: ``` mysql> CREATE DATABASE esqutest; mysql> CREATE USER 'travis'@'localhost'; +mysql> ALTER USER 'travis'@'localhost' IDENTIFIED BY 'esqutest'; mysql> GRANT ALL ON esqutest.* TO 'travis'; ``` diff --git a/test/MySQL/Test.hs b/test/MySQL/Test.hs index fb073af..70e6e5c 100644 --- a/test/MySQL/Test.hs +++ b/test/MySQL/Test.hs @@ -240,7 +240,7 @@ withConn :: RunDbMonad m => (SqlBackend -> R.ResourceT m a) -> m a withConn = R.runResourceT . withMySQLConn defaultConnectInfo - { connectHost = "127.0.0.1" + { connectHost = "localhost" , connectUser = "travis" , connectPassword = "esqutest" , connectDatabase = "esqutest"