MySQL wrapped connection pool

Source: Internet
Author: User
Tags ibm db2

1. http://www.alhem.net/project/mysql/

After pounding away Miles of code using the c api of MySQL in my applications, I finally managed to put together a simple and naive C ++ wrapper. the wrapper consists of two classes, one session control object ("Database") and one worker object ("query "). the session control object contains a simple connection pool, so established database connections are reused in a sane manner. the worker object contains methods to execute SQL queries alternatively store results from SQL queries.

 

2. http://sqlrelay.sourceforge.net/sqlrelay/ http://sqlrelay.sourceforge.net/(download)

SQL Relay

SQL relay is a persistent Database Connection pooling, proxying and Load Balancing System for UNIX and Linux supporting ODBC, Oracle, MySQL, PostgreSQL, Sybase, ms SQL Server, IBM DB2, Firebird, SQLite and MS access (minimally) with APIs for C, C ++, ODBC, Perl, Perl-DBI, Python, Python-DB, Zope, PHP, Ruby, Ruby-DBI, java, TCL and Erlang, drop-in replacement libraries for MySQL and PostgreSQL clients, command line clients and extensive documentation. the APIS support advanced database operations such as bind variables, multi-row fetches, client-side result set caching and suspended transactions. it is ideal for speeding up database-driven web-based applications, accessing databases from unsupported platforms, migrating between databases, distributing access to replicated databases and throttling database access.

Introduction

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.