Name Date Size #Lines LOC

..18-Oct-2019-

description/H30-Oct-2019-

registry/data/org/openoffice/Office/DataAccess/H18-Oct-2019-

DataAccess.xcuH A D18-Oct-20191.6 KiB4219

READMEH A D18-Oct-20192.5 KiB6647

delzipH A D18-Oct-20190

description.xmlH A D18-Oct-20192.1 KiB5028

exports.dxpH A D18-Oct-201980 43

makefile.mkH A D18-Oct-20199.4 KiB298177

manifest.xmlH A D18-Oct-20191.5 KiB298

mysqlc.mapH A D18-Oct-20191 KiB2928

mysqlc.xmlH A D18-Oct-20194.8 KiB10279

mysqlc_connection.cxxH A D18-Oct-201923.3 KiB787535

mysqlc_connection.hxxH A D18-Oct-20198.4 KiB245146

mysqlc_databasemetadata.cxxH A D18-Oct-201979.9 KiB2,2101,472

mysqlc_databasemetadata.hxxH A D18-Oct-201920.3 KiB238199

mysqlc_driver.cxxH A D18-Oct-20198.5 KiB315199

mysqlc_driver.hxxH A D18-Oct-20194 KiB10954

mysqlc_general.cxxH A D18-Oct-20195.1 KiB169111

mysqlc_general.hxxH A D18-Oct-20192.3 KiB6128

mysqlc_preparedstatement.cxxH A D18-Oct-201929.2 KiB937672

mysqlc_preparedstatement.hxxH A D18-Oct-20197.8 KiB189113

mysqlc_propertyids.cxxH A D18-Oct-20197 KiB203141

mysqlc_propertyids.hxxH A D18-Oct-20194.2 KiB157105

mysqlc_resultset.cxxH A D18-Oct-201940 KiB1,5191,046

mysqlc_resultset.hxxH A D18-Oct-201912.9 KiB330183

mysqlc_resultsetmetadata.cxxH A D18-Oct-201914.3 KiB461312

mysqlc_resultsetmetadata.hxxH A D18-Oct-20194.5 KiB11660

mysqlc_services.cxxH A D18-Oct-20195.1 KiB176105

mysqlc_statement.cxxH A D18-Oct-201914.1 KiB524335

mysqlc_statement.hxxH A D18-Oct-20197.2 KiB210113

mysqlc_subcomponent.hxxH A D18-Oct-20198.1 KiB248175

mysqlc_types.cxxH A D18-Oct-201946.3 KiB785691

mysqlc_types.hxxH A D18-Oct-20191.5 KiB4924

README

1---------- Status -------------------------------------------------------------
2
3The code is on a PREVIEW level. PREVIEW means pre-alpha.
4
5---------- Requirements -------------------------------------------------------
6
7The MySQL driver for OpenOffice.org (MySQL Connector/OpenOffice.org - C/OOo)
8requires two external libraries to be build:
9
10 1) The MySQL Client Library (libmysql)
11 2) The MySQL Connector/C++ Library (libmysqlcppcon)
12
13At the time of writing neither of the two libraries are part of the CWS!
14Before you can build the MySQL driver for OpenOffice.org you must install
15the two required libraries on your system before you can compile the driver.
16
17You need the two libraries because the MySQL driver for OpenOffice.org
18does not feature an implementation of the MySQL Client Server
19communication protocol. The protocol implementation is part of the MySQL
20Client Library. And the SDBC(X) style OpenOffice.org driver is implemented as a
21wrapper of the MySQL Connector/C++ Library which implements a JDBC interface and
22in turn uses the C based MySQL Client Library.
23
241) MySQL Client Library (libmysql)
25
26The MySQL Client Library (libmysql) is part of the MySQL Server. You need to
27download and install the MySQL Server. Use a binary distribution of
28MySQL 5.0.x or MySQL 5.1.x. Check the MySQL manual for instructions, e.g.
29for Unix:
30
31 http://dev.mysql.com/doc/refman/5.1/en/installing-binary.html
32
33The typical installation path of the libmysql.so on Unix is
34/usr/local/mysql/lib/mysql/ .
35
362) MySQL Connector/C++ (libmysqlcppcon)
37
38Download and install the latest version of the MySQL Connector/C++, see
39http://forge.mysql.com/wiki/Connector_C++ . Check out the source
40from the bzr repository.
41
423) Tweaking library paths
43
44At the time of writing you might have to *manually* tweak library paths and
45library names by patching makefile.mk. This is a temporary hack. The makefile
46will be improved later.
47
48However, for the moment check the makefile.mk if the compilation fails due to
49"missing" libraries (= libraries not found). For example, check the following
50settings:
51
52  MYSQL_INCDIR=/usr/local/include
53  MYSQL_LIBDIR=/usr/local/lib
54  [...]
55  MYSQL_INCDIR=/usr/local/include
56  MYSQL_LIBDIR=/usr/local/lib
57  [...]
58  MYSQL_INC=-I$(MYSQL_INCDIR)
59  MYSQL_LIB=-L$(MYSQL_LIBDIR) -lmysqlclient -rdynamic -lz -lcrypt -lnsl -lm
60  MYSQL_LIBFILE=$(MYSQL_LIBDIR)$/libmysqlclient.so.16
61  MYSQL_CPPCONN_LIBFILE=$(MYSQL_LIBDIR)$/libmysqlcppconn.so
62  [...]
63
64A common issue is libmysqlclient.so.15 vs. libmysqlclient.so.16 .
65
66