• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

doc/H12-Mar-2013-1,8451,558

drivers/H12-Mar-2013-25,47320,500

m4/H12-Mar-2013-8,6157,755

tests/H12-Mar-2013-26,22020,886

AUTHORSH A D01-May-20111.4 KiB5837

COPYINGH A D07-Dec-200725.9 KiB516435

ChangeLogH A D12-Mar-20138.6 KiB296191

INSTALLH A D26-Sep-20107.9 KiB196152

Makefile.amH A D01-May-2011409 168

Makefile.inH A D11-Mar-201325.6 KiB825732

Makefile.w32H A D18-Dec-20074.3 KiB10469

NEWSH A D12-Mar-20134.8 KiB14193

READMEH A D11-Mar-20132.7 KiB10271

README.encodingsH A D10-Jan-20041.6 KiB7269

README.osxH A D01-May-20071.9 KiB6340

README.win32H A D11-Mar-20132.2 KiB7047

TODOH A D12-Apr-2003185 124

acinclude.m4H A D19-Feb-201116.6 KiB697593

aclocal.m4H A D11-Mar-201336.4 KiB1,031926

autogen.shH A D21-Mar-2010769 2915

config.guessH A D18-Feb-201241.1 KiB1,4081,211

config.h.inH A D08-Dec-20102.1 KiB8456

config.subH A D18-Feb-201229.6 KiB1,5051,364

configureH A D11-Mar-2013458.8 KiB16,06713,359

configure.inH A D11-Mar-20138 KiB289242

depcompH A D18-Feb-201218.2 KiB631407

fixlt.shH A D10-Jun-2003745 113

install-shH A D18-Feb-201213.3 KiB521344

libdbi-drivers.spec.inH A D01-May-20118.7 KiB316267

ltmain.shH A D11-Mar-2013278 KiB9,7077,345

missingH A D18-Feb-201211.2 KiB377281

README

1
2libdbi-drivers - drivers for libdbi, a database abstraction
3layer implemented in C
4Copyright (C) 2001-2013, Markus Hoenicka
5http://libdbi-drivers.sourceforge.net
6
7
8INTRODUCTION:
9-------------
10
11libdbi (http://libdbi.sourceforge.net) implements a
12database-independent abstraction layer in C, similar to the DBI/DBD
13layer in Perl. Writing one generic set of code, programmers can
14leverage the power of multiple databases and multiple simultaneous
15database connections by using this framework.
16
17libdbi-drivers (http://libdbi-drivers.sourceforge.net) supplies the
18drivers that the libdbi framework utilizes to talk to the supported
19database servers.
20
21
22INSTALLATION:
23-------------
24
25Make sure you have both the libdbi framework installed and the
26development libraries and headers of the database engine(s) that you
27want to build the driver(s) for. Perform the regular ./configure,
28make, make install. See INSTALL for the generic details of each
29step. It is important to understand that you have to request the
30driver(s) that you want to build on the configure command
31line. E.g. to build both the SQLite and the PostgreSQL drivers, use
32"./configure --with-sqlite --with-pgsql". See ./configure --help for
33more libdbi-drivers configuration options.
34
35If you are building the Win32 port, see README.win32.
36If you are building the OSX port, see README.osx.
37
38
39AVAILABLE DRIVERS:
40------------------
41
42* DB2 (experimental)
43* Firebird/Interbase (experimental)
44* FreeTDS (experimental)
45* Ingres (experimental)
46* mSQL (experimental)
47* MySQL
48* Oracle (experimental)
49* PostgreSQL
50* SQLite
51* SQLite3
52
53
54SUPPORTED PLATFORMS:
55--------------------
56
57libdbi-drivers has been written with cross-platform availability in
58mind. To date, chances are it is going to run with:
59
60Linux: Debian, RedHat, Slackware, Gentoo
61Windows: all versions supported by Cygwin
62FreeBSD: 4.3 through 9.1
63SunOS: 2.8
64Solaris: 7
65AIX: 4.2, 4.3 and 5.1
66OSX: 10.2-10.4
67
68If you are using libdbi on a platform not listed here, please notify the
69mailing list! (see below)
70
71
72MODIFICATIONS AND REDISTRIBUTION (LGPL):
73----------------------------------------
74
75See the GNU Lesser General Public License, available in the
76distribution file COPYING or visit http://www.gnu.org for more
77details.
78
79
80DOCUMENTATION:
81--------------
82
83All driver subdirectories contain README, AUTHORS, and CHANGELOG files
84with information about the particular driver. In addition, each driver
85provides a short manual formatted as PDF and HTML.
86
87
88MAILING LISTS:
89--------------
90
91 * libdbi-drivers users/developers: libdbi-drivers-devel@lists.sourceforge.net
92
93
94CONTACT INFO:
95-------------
96
97http://libdbi-drivers.sourceforge.net
98Markus Hoenicka <mhoenicka@users.sourceforge.net>
99David Parker <david@neongoat.com>
100$Id: README,v 1.12 2013/03/11 23:49:41 mhoenicka Exp $
101
102

README.encodings

1Translation table for character encodings
2The first column is what dbi_get_conn_encoding() returns. This is the preferred MIME
3name, if available, otherwise another official name
4Source for preferred MIME names and other official names:
5http://www.iana.org/assignments/character-sets
6
7$Id: README.encodings,v 1.2 2004/01/10 19:52:45 bhazer Exp $
8
9MIME		pgsql		mysql		sqlite		oracle			msql
10US-ASCII	SQL_ASCII	ascii				US7ASCII
11EUC-JP		EUC_JP		ujis				JA16EUC,JA16EUCYEN
12		EUC_CN
13EUC-KR		EUC_KR		euc_kr
14EUC-KR				euckr
15		EUC_TW
16UTF-8		UNICODE		utf8		UTF-8		UTF8
17UTF-16
18		MULE_INTERNAL
19ISO-8859-1	LATIN1		latin1		iso8859
20ISO-8859-2	LATIN2		latin2				WE8ISO8859P9
21ISO-8859-3	LATIN3
22ISO-8859-4	LATIN4
23ISO-8859-9	LATIN5		latin5
24ISO-8859-10	LATIN6
25ISO-8859-13	LATIN7		latin7
26ISO-8859-14	LATIN8
27ISO-8859-15	LATIN9
28ISO-8859-16	LATIN10
29ISO-8859-5	ISO-8859-5
30ISO-8859-6	ISO-8859-6					AR8ISO8859P6
31ISO-8859-7	ISO-8859-7	greek
32ISO-8859-8	ISO-8859-8	hebrew				IW8ISO8859P8
33KOI8-R		KOI8		koi8_ru
34KOI8-R				koi8r
35KOI8-U				koi8_ukr
36KOI8-U				koi8u
37windows-1251	WIN		cp1251
38IBM866		ALT
39windows-1250			win1250
40windows-1250			cp1250
41windows-1256			cp1256
42windows-1257			win1257
43windows-1257			cp1257
44IBM850				cp850
45IBM852				cp852
46IBM857								TR8PC857
47IBM865				dos
48IBM866				cp866
49Big5				big5
50GB2312				gb2312
51Shift_JIS			sjis
52ISO646-NO			danish
53ISO646-HU			hungarian
54GBK				gbk
55ISO-10646-UCS-2			ucs2
56DEC-MCS				dec8
57TIS-620				tis620
58hp-roman8			hp8
59				czech
60				german1
61				swe7
62				usa7
63				estonia
64				win1251ukr
65				croat
66				armscii8
67				keybcs2
68				macce
69				macroman
70				binary
71				geostd8
72

README.osx

1
2libdbi-drivers - drivers for libdbi, the Database
3Independent Abstraction Layer for C
4
5Copyright (C) 2001-2003, Markus Hoenicka
6http://libdbi-drivers.sourceforge.net
7
8
9OS X-SPECIFIC INSTALLATION INSTRUCTIONS:
10----------------------------------------
11
12(Tested on 10.4.9/PowerPC)
13
14	LIBTOOLIZE=glibtoolize ./autogen.sh
15	./configure --disable-docs --with-mysql --with-pgsql --with-sqlite --with-pgsql-dir=/opt/local/pgsql LDFLAGS="-L/sw/lib"
16	make
17	sudo make install
18
19Adjust configure options and paths according to which databases you are
20using, and where their headers and libraries are installed.
21
22
23QUICKSTART - MYSQL
24------------------
25If you are using the MySQL.com Community[1] or Enterprise[2] package,
26or a source install in the default location:
27
28	sudo ln -s /usr/local/mysql/include /usr/include/mysql
29	./configure --with-mysql --with-mysql-dir=/usr/local/mysql --disable-docs
30	make
31	sudo make install
32
33[1] http://dev.mysql.com/downloads/
34[2] https://enterprise.mysql.com/software/enterprise.php
35
36
37QUICKSTART - POSTGRESQL
38-----------------------
39There are several options for installing PostgreSQL on OS X, including:
40- Marc Liyanage's package at http://www.entropy.ch/software/macosx/postgresql/
41- Druware's package at http://postgresqlformac.com/
42- Fink package manager, see http://developer.apple.com/internet/opensource/postgres.html
43
44If using the entropy.ch package, configure libdbi-drivers as follows:
45	./configure --with-pgsql --with-pgsql-dir=/usr/local/pgsql --disable-docs
46
47If using the postgresqlformac.com package,
48	./configure --with-pgsql --with-pgsql-dir=/Library/PostgreSQL8 --disable-docs
49
50In all cases, build and install libdbi-drivers as follows:
51	make
52	sudo make install
53
54
55MODIFICATIONS AND REDISTRIBUTION (GPL):
56---------------------------------------
57
58See the file COPYING or http://www.gnu.org for more details.
59
60
61$Id: README.osx,v 1.2 2007/05/01 22:27:28 qu1j0t3 Exp $
62
63

README.win32

1
2libdbi-drivers - drivers for libdbi, the Database
3Independent Abstraction Layer for C
4
5Copyright (C) 2001-2013, Markus Hoenicka
6http://libdbi-drivers.sourceforge.net
7
8
9WINDOWS-SPECIFIC INSTALLATION INSTRUCTIONS:
10-------------------------------------------
11
12libdbi-drivers can be compiled into DLL files on Win32 with the Cygwin
13package, available at http://www.cygwin.com/. libdbi must be properly
14installed before attempting to build libdbi-drivers, and you need the
15appropriate client libraries of the database engines. The only
16database engine packaged with Cygwin is PostgreSQL. However, at least
17SQLite, SQLite3 and MySQL build out of the box.
18
19To build a particular driver, run these commands, where:
20
21- XYZ is one of msql, mysql, pgsql, or sqlite for MiniSQL, MySQL,
22  PostgreSQL, and SQLite, respectively
23
24- /path/to/lib is (usually) /usr/local/lib/mysql for MySQL and
25  /usr/local/msql3/lib for MiniSQL. The LDFLAGS magic is not required
26  for building the PostgreSQL and SQLite drivers.
27
28./configure --with-driverXYZ
29make
30make install
31make libXYZ-dll -f Makefile.w32 LDFLAGS="-L/path/to/lib"
32make install-libXYZ -f Makefile.w32
33
34If you want to build and install all drivers, use the following commands:
35./configure --with-mysql --with-pgsql --with-msql --with-sqlite
36make
37make install
38make -f Makefile.w32 LDFLAGS="-L/usr/local/lib/mysql -L/usr/local/msql3/lib"
39make install -f Makefile.w32
40
41The good news is that this works at all. The bad news is that the DLL magic
42could be integrated into the standard Makefiles with some extra effort
43and a better understanding of the autotools.
44
45CYGWIN DETAILS:
46---------------
47
48There are unfortunately no "Cygwin" releases in a sense as there are Debian 2.2
49or FreeBSD 4.5. However, libdbi-drivers should work with any Cygwin release
50since around Jan 2003.
51
52
53USAGE:
54------
55
56Once libdbi is compiled for Win32 and you have a DLL, you can use that DLL like
57any other. The only requirement is that the cygwin runtime DLL is available on
58the target machine also, since non-Windows API functions are implemented by
59cygwin.
60
61
62MODIFICATIONS AND REDISTRIBUTION (GPL):
63----------------------------------------
64
65See the file COPYING or http://www.gnu.org for more details.
66
67
68$Id: README.win32,v 1.7 2013/03/11 23:49:41 mhoenicka Exp $
69
70