| Copyright | (c) Winterland 2016 |
|---|---|
| License | BSD |
| Maintainer | drkoster@qq.com |
| Stability | experimental |
| Portability | PORTABLE |
| Safe Haskell | Safe-Inferred |
| Language | Haskell2010 |
Database.MySQL.TLS
Description
This module provides secure MySQL connection using tls package, please make sure your certificate is v3 extension enabled.
Synopsis
- connect :: ConnectInfo -> (ClientParams, String) -> IO MySQLConn
- connectDetail :: ConnectInfo -> (ClientParams, String) -> IO (Greeting, MySQLConn)
- module Data.TLSSetting
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 #
module Data.TLSSetting