| Copyright | (c) Winterland, 2016 |
|---|---|
| License | BSD |
| Maintainer | drkoster@qq.com |
| Stability | experimental |
| Portability | PORTABLE |
| Safe Haskell | None |
| Language | Haskell2010 |
Database.MySQL.TLS
Description
This module provides secure MySQL connection using tls package, please make sure your certificate is v3 extension enabled.
- connect :: ConnectInfo -> (ClientParams, String) -> IO MySQLConn
- connectDetail :: ConnectInfo -> (ClientParams, String) -> IO (Greeting, MySQLConn)
Documentation
connect :: ConnectInfo -> (ClientParams, String) -> IO MySQLConn Source
Provide a ClientParams and a subject name to establish a TLS connection.
connectDetail :: ConnectInfo -> (ClientParams, String) -> IO (Greeting, MySQLConn) Source