Mini SQL driver manual: A libdbi driver for the Mini SQL (mSQL) database | ||
---|---|---|
Prev |
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::
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
.
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.