mysql-0.2.1: A low-level MySQL client library.
Copyright(c) 2011 MailRank Inc.
LicenseBSD3
MaintainerPaul Rouse <pyr@doynton.org>
Stabilityexperimental
Portabilityportable
Safe HaskellNone
LanguageHaskell2010

Database.MySQL.Base.C

Description

Direct bindings to the C mysqlclient API.

Synopsis

Connection management

mysql_init Source #

Arguments

:: Ptr MYSQL

should usually be nullPtr

-> IO (Ptr MYSQL) 

mysql_ssl_set Source #

Arguments

:: Ptr MYSQL 
-> CString

Key.

-> CString

Cert.

-> CString

CA.

-> CString

CA path.

-> CString

Ciphers.

-> IO MyBool 

mysql_real_connect Source #

Arguments

:: Ptr MYSQL

Context (from mysql_init).

-> CString

Host name.

-> CString

User name.

-> CString

Password.

-> CString

Database.

-> CInt

Port.

-> CString

Unix socket.

-> CULong

Flags.

-> IO (Ptr MYSQL) 

mysql_change_user Source #

Arguments

:: Ptr MYSQL 
-> CString

user

-> CString

password

-> CString

database

-> IO MyBool 

Connection information

Querying

Escaping

Results

Working with results

Multiple results

Transactions

General information

Error handling

Concurrency