Qore Programming Language

  • Increase font size
  • Default font size
  • Decrease font size
mysql module
db-green-small.png

The mysql module for Qore provides a database driver for MySQL databases.

Requires qore 0.7.0+ and mysql headers and libraries to build.

Module documentation: http://qore.org/manual/modules/mysql-module-doc.html

The driver supports the following features:

  • all builtin MySQL data types are supported
  • is thread-safe
  • stored procedure execution is supported
  • transaction management is supported
  • 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(DSPGSQL);
$db = new Datasource("pgsql");

This module is stable and has been extensively tested.

The latest source code can be checked out from svn with the following command:

svn co https://svn.qore.sf.net/svnroot/qore/module-mysql/trunk qore-module-mysql

RPMs for Linux can be found at the opensuse build service here: http://download.opensuse.org/repositories/devel:/languages:/misc/

Mac OS/X users can install this module by using macports by issuing the following command

sudo port selfupdate
sudo port -vu install qore-mysql-module
Title Filter     Display # 
# Article Title Author Hits
1 mysql module info David Nichols 149