Permalink
Browse files

Document defaultConnectInfo.

  • Loading branch information...
1 parent 9fa1e13 commit 66bafbe918c806661ed3ea54183f9a2183ce76d4 @bos bos committed Apr 29, 2011
Showing with 12 additions and 0 deletions.
  1. +12 −0 Database/MySQL/Base.hs
View
@@ -211,6 +211,18 @@ newtype Row = Row MYSQL_ROW_OFFSET
-- | Default information for setting up a connection.
--
+-- Defaults are as follows:
+--
+-- * Server on @localhost@
+--
+-- * User @root@
+--
+-- * No password
+--
+-- * Database @test@
+--
+-- * Character set @utf8@
+--
-- Use as in the following example:
--
-- > connect defaultConnectInfo { connectHost = "db.example.com" }

0 comments on commit 66bafbe

Please sign in to comment.