X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;ds=sidebyside;f=doc%2Fappendix.xml;h=8ba1baf6eb59b43091e4c8709a66822fc938649c;hb=967266c94b00f91e5967b8330fe2b9134b0c0447;hp=eb463cc5de0f4c8823a133e121571df2eaf527da;hpb=cc92d162f24648d65ad872098353305a5baf91d7;p=clsql.git diff --git a/doc/appendix.xml b/doc/appendix.xml index eb463cc..8ba1baf 100644 --- a/doc/appendix.xml +++ b/doc/appendix.xml @@ -8,77 +8,6 @@ Database Back-ends - - MySQL - - Libraries - The MySQL back-end needs access to the MySQL C - client library (libmysqlclient.so). - The location of this library is specified - via *mysql-so-load-path*, which defaults - to /usr/lib/libmysqlclient.so. - Additional flags to ld needed for - linking are specified via *mysql-so-libraries*, - which defaults to ("-lc"). - - - - Initialization - - Use - -(asdf:operate 'asdf:load-op 'clsql-mysql) - - to load the MySQL back-end. The database type for the MySQL - back-end is :mysql. - - - - Connection Specification - - Syntax of connection-spec - (host db user password) - - - Description of connection-spec - - - host - - String representing the hostname or IP address - the MySQL server resides on, or nil - to indicate the localhost. - - - - db - - String representing the name of the database on - the server to connect to. - - - - user - - String representing the user name to use for - authentication, or nil to use the - current Unix user ID. - - - - password - - String representing the unencrypted password to - use for authentication, or nil if - the authentication record has an empty password - field. - - - - - - - PostgreSQL @@ -105,13 +34,9 @@ Connection Specification Syntax of connection-spec - (host - db - user - password &optional - port - options - tty) + + (host db user password &optional port options tty) + Description of connection-spec @@ -207,13 +132,9 @@ Connection Specification Syntax of connection-spec - (host - db - user - password &optional - port - options - tty) + + (host db user password &optional port options tty) + Description of connection-spec @@ -284,21 +205,157 @@ + + MySQL + + Libraries + The &mysql; back-end needs access to the &mysql; C + client library (libmysqlclient.so). + The location of this library is specified + via *mysql-so-load-path*, which defaults + to /usr/lib/libmysqlclient.so. + Additional flags to ld needed for + linking are specified via *mysql-so-libraries*, + which defaults to ("-lc"). + + + + Initialization + + Use + +(asdf:operate 'asdf:load-op 'clsql-mysql) + + to load the &mysql; back-end. The database type for the MySQL + back-end is :mysql. + + + + Connection Specification + + Syntax of connection-spec + (host db user password) + + + Description of connection-spec + + + host + + String representing the hostname or IP address + the &mysql; server resides on, or nil + to indicate the localhost. + + + + db + + String representing the name of the database on + the server to connect to. + + + + user + + String representing the user name to use for + authentication, or nil to use the + current Unix user ID. + + + + password + + String representing the unencrypted password to + use for authentication, or nil if + the authentication record has an empty password + field. + + + + + + + + + &odbc; + + Libraries + + The &odbc; back-end requires access to an &odbc; driver + manager as well as &odbc; drivers for the underlying + database server. &clsql; has been tested with + unixODBC ODBC Driver Manager as + well as Microsoft's ODBC manager. These driver managers + have been tested with the + psqlODBC driver for + &postgresql; and the + MyODBC driver for &mysql;. + + + + Initialization + + Use + +(asdf:operate 'asdf:load-op 'clsql-odbc) + + to load the &odbc; back-end. The database type for the &odbc; + back-end is :odbc. + + + + Connection Specification + + Syntax of connection-spec + (dsn user password) + + + Description of connection-spec + + + dsn + + String representing the ODBC data source name. + + + + user + + String representing the user name to use for + authentication. + + + + password + + String representing the unencrypted password to + use for authentication. + + + + + + + - AODBC + &aodbc; - Libraries - The AODBC back-end requires access to the ODBC interface - of &acl;. + Libraries The &aodbc; back-end requires + access to the &odbc; interface of &acl; named DBI. This + interface is not available in the trial version of + &acl; Initialization Use +(require 'aodbc-v2) (asdf:operate 'asdf:load-op 'clsql-aodbc) - to load the MySQL back-end. The database type for the AODBC + to load the &aodbc; back-end. The database type for the &aodbc; back-end is :aodbc. @@ -306,9 +363,9 @@ Connection Specification Syntax of connection-spec - (dsn - user - password) + + (dsn user password) + Description of connection-spec @@ -338,4 +395,43 @@ + + &sqlite; + + Libraries The &sqlite; back-end requires + access to the &sqlite; shared library file. Its default file + name is /usr/lib/libsqlite.so. + + + Initialization + + Use + +(asdf:operate 'asdf:load-op 'clsql-sqlite) + + to load the &sqlite; back-end. The database type for the &sqlite; + back-end is :sqlite. + + + + Connection Specification + + Syntax of connection-spec + (filename) + + + Description of connection-spec + + + filename + + String representing the filename of the &sqlite; + database file. + + + + + + +