Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Tree [r5195] / module-mysql / trunk /
History



File Date Author Commit
docs 2012-09-29 david_nichols [r5109] added support for DBI_CAP_SERVER_TIME_ZONE and ...
m4 2008-09-03 david_nichols [r1998] initial import for independent project
src 2012-09-29 david_nichols [r5109] added support for DBI_CAP_SERVER_TIME_ZONE and ...
test 2012-09-28 david_nichols [r5093] added prepared statement test script
AUTHORS 2008-09-03 david_nichols [r1998] initial import for independent project
COPYING 2008-09-03 david_nichols [r1998] initial import for independent project
ChangeLog 2010-06-20 david_nichols [r3667] updated changelog with fixed svn2cl
INSTALL 2008-09-03 david_nichols [r1998] initial import for independent project
Makefile.am 2012-09-28 david_nichols [r5094] created doxygen docs
NEWS 2008-09-03 david_nichols [r1998] initial import for independent project
README 2009-01-03 david_nichols [r2362] updated version to 1.0.2; updated configure to ...
README-BINARIES 2010-06-20 david_nichols [r3666] added readme
RELEASE-NOTES 2012-09-29 david_nichols [r5109] added support for DBI_CAP_SERVER_TIME_ZONE and ...
configure.ac 2012-10-20 david_nichols [r5166] windows build fixes
qore-mysql-module.spec 2012-09-28 david_nichols [r5095] updated spec file for doc package and new doxyg...
reconf.sh 2010-05-11 david_nichols [r3481] compile fixes for solaris

Read Me

mysql module for Qore
version 1.0.2 by David Nichols

Requires qore 0.7.1 and mysql 3.3 or newer headers and libraries to build

With MySQL 4.1+ you can get transaction support and the module will use the more efficient prepared statement interface.

The driver supports the following features (depending on the MySQL client library version):
* is thread-safe
* stored procedure execution with binding and retrieving values (5 and newer)
* transaction management is supported (4.1 and newer)
* transparent character encoding conversion is supported if necessary

The driver's name is "mysql" and the Datasource type constant is SQL::DSMySQL
ex: $db = new Datasource(DSMySQL);
ex: $db = new Datasource("mysql");

The mysql module is stable and has been extensively tested.

Documentation: docs/mysql-module-doc.html

test/example script: test/db-test.q

BUILD AND INSTALL
-----------------

If your mysql installation is in a non-standard location, set the MYSQL_DIR environment variable to the location of the installation before running configure.
Note that you have to use g++ 4.0.* on Darwin to link with newer versions of the MySQL libraries

configure
make
sudo make install

The configure script will find out where your qore module directory is found and set this for the install directory.

BUILD FROM SVN
--------------

reconf.sh
configure
make
sudo make install