Driver options

Mini SQL driver manual: A libdbi driver for the Mini SQL (mSQL) database
Prev |  |

# Chapter 3. Driver options

Your application has to initialize libdbi drivers by setting some driver options with the `dbi_conn_set_option()` and the `dbi_conn_set_option_numeric()` library functions. Mini SQL uses the following options::

dbname

  The name of the database you want to connect to. `dbname` can be any existing database in the Mini SQL installation created with `msqladmin create dbname`.

host

  This is the name or ip-address of the host where the Mini SQL database is located.

  > Note: If you want to connect to a database on localhost don't use this option. Specifying localhost will force TCP usage instedd of UNIX Domain socket usage (if the server is configured for TCP) Mini SQL is much faster using a UNIX domain socket.

Prev | Home |
Build and install the Mini SQL driver |  |