Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | 18-Oct-2019 | - | ||||
description/ | H | 30-Oct-2019 | - | |||
registry/data/org/openoffice/Office/DataAccess/ | H | 18-Oct-2019 | - | |||
DataAccess.xcu | H A D | 18-Oct-2019 | 1.6 KiB | 42 | 19 | |
README | H A D | 18-Oct-2019 | 2.5 KiB | 66 | 47 | |
delzip | H A D | 18-Oct-2019 | 0 | |||
description.xml | H A D | 18-Oct-2019 | 2.1 KiB | 50 | 28 | |
exports.dxp | H A D | 18-Oct-2019 | 80 | 4 | 3 | |
makefile.mk | H A D | 18-Oct-2019 | 9.4 KiB | 298 | 177 | |
manifest.xml | H A D | 18-Oct-2019 | 1.5 KiB | 29 | 8 | |
mysqlc.map | H A D | 18-Oct-2019 | 1 KiB | 29 | 28 | |
mysqlc.xml | H A D | 18-Oct-2019 | 4.8 KiB | 102 | 79 | |
mysqlc_connection.cxx | H A D | 18-Oct-2019 | 23.3 KiB | 787 | 535 | |
mysqlc_connection.hxx | H A D | 18-Oct-2019 | 8.4 KiB | 245 | 146 | |
mysqlc_databasemetadata.cxx | H A D | 18-Oct-2019 | 79.9 KiB | 2,210 | 1,472 | |
mysqlc_databasemetadata.hxx | H A D | 18-Oct-2019 | 20.3 KiB | 238 | 199 | |
mysqlc_driver.cxx | H A D | 18-Oct-2019 | 8.5 KiB | 315 | 199 | |
mysqlc_driver.hxx | H A D | 18-Oct-2019 | 4 KiB | 109 | 54 | |
mysqlc_general.cxx | H A D | 18-Oct-2019 | 5.1 KiB | 169 | 111 | |
mysqlc_general.hxx | H A D | 18-Oct-2019 | 2.3 KiB | 61 | 28 | |
mysqlc_preparedstatement.cxx | H A D | 18-Oct-2019 | 29.2 KiB | 937 | 672 | |
mysqlc_preparedstatement.hxx | H A D | 18-Oct-2019 | 7.8 KiB | 189 | 113 | |
mysqlc_propertyids.cxx | H A D | 18-Oct-2019 | 7 KiB | 203 | 141 | |
mysqlc_propertyids.hxx | H A D | 18-Oct-2019 | 4.2 KiB | 157 | 105 | |
mysqlc_resultset.cxx | H A D | 18-Oct-2019 | 40 KiB | 1,519 | 1,046 | |
mysqlc_resultset.hxx | H A D | 18-Oct-2019 | 12.9 KiB | 330 | 183 | |
mysqlc_resultsetmetadata.cxx | H A D | 18-Oct-2019 | 14.3 KiB | 461 | 312 | |
mysqlc_resultsetmetadata.hxx | H A D | 18-Oct-2019 | 4.5 KiB | 116 | 60 | |
mysqlc_services.cxx | H A D | 18-Oct-2019 | 5.1 KiB | 176 | 105 | |
mysqlc_statement.cxx | H A D | 18-Oct-2019 | 14.1 KiB | 524 | 335 | |
mysqlc_statement.hxx | H A D | 18-Oct-2019 | 7.2 KiB | 210 | 113 | |
mysqlc_subcomponent.hxx | H A D | 18-Oct-2019 | 8.1 KiB | 248 | 175 | |
mysqlc_types.cxx | H A D | 18-Oct-2019 | 46.3 KiB | 785 | 691 | |
mysqlc_types.hxx | H A D | 18-Oct-2019 | 1.5 KiB | 49 | 24 |
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