Skip to content
This repository

Asynchronous MySQL binding for Node.js

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 benchmark
Octocat-spinner-32 docs
Octocat-spinner-32 src
Octocat-spinner-32 tests
Octocat-spinner-32 .gitignore
Octocat-spinner-32 .gitmodules
Octocat-spinner-32 CHANGELOG
Octocat-spinner-32 LICENSE
Octocat-spinner-32 README
Octocat-spinner-32 TODO
Octocat-spinner-32 mysql-libmysqlclient.js
Octocat-spinner-32 package.json
Octocat-spinner-32 wscript
README
MySQL bindings for Node.JS using libmysqlclient
===============================================

Documentation lives at http://wiki.github.com/Sannis/node-mysql-libmysqlclient/
and http://github.com/Sannis/node-mysql-libmysqlclient/tree/master/docs/.
The code lives at http://github.com/Sannis/node-mysql-libmysqlclient/.

Tested with Node version v0.1.103

== Build and use

To build the bindings library you should run this command in console:

$> node-waf configure build

The two files required to use these bindings are ./mysql-libmysqlclient.js and
./mysql_bindings.node(build/default/mysql_bindings.node).
Put this directory in your NODE_PATH or copy those two files where you need them.

== A small message for NodeJS community

Today this library supports all basic functions for working with MySQL.
In the near future, I plan to expand the list of methods
that can be invoked in an asynchronous NodeJS style.
I also postponed the implementation of prepared statements.

I will be happy to hear tips from the more experienced programmers.
If you are interested in wide MySQL usage in NodeJS applications,
leave your comments to the code.
Unfortunately not all methods are covered by unit and functional tests,
so I'll be glad to see your forks and commits in them :)

== Node.JS

Node is the evented I/O for V8 javascript.
Node's goal is to provide an easy way to build scalable network programs,
it is similar in design to and influenced by systems like Ruby's Event Machine or Python's Twisted.
Website: http://nodejs.org

== Contributing

To contribute any patches, simply fork this repository using GitHub
and send a pull request to me (http://github.com/Sannis). Thanks!
You can find other information at
http://wiki.github.com/Sannis/node-mysql-libmysqlclient/contributing

== License & Contributors
 
MIT License. See license text in file LICENSE.

* Oleg Efimov
  E-mail: <efimovov@gmail.com>
  GitHub: http://github.com/Sannis
  Site: http://sannis.ru
  
  Synchronouse version development.
  First libeio asynchronouse attempts.
  Writing tests.


* Surendra Singhi
  E-mail: <ssinghi@kreeti.com>
  GitHub: http://github.com/ssinghi, http://github.com/kreetitech
  Site: http://ssinghi.kreeti.com
  
  Make asynchronouse querying work.
  Fix segmentation faults, partialy closes #14.
  Some other fixes.

* Robin Duckett
  E-mail: <robin.duckett@gmail.com>
  GitHub: http://github.com/robinduckett
  
  Fix segfault error, partialy closes #14.
  
* Dan Beam
  E-mail: <dan@danbeam.org>
  GitHub: http://github.com/danbeam
  Site: http://danbeam.org
  
  Simplify javascript logic of createConnection(),
  see 97040c3e7a5d4673ca6f340d8a9bc69da8e398d8.

* Maurits Lamers
  E-mail: <maurits@weidestraat.nl>
  GitHub: http://github.com/mauritslamers
  
  Fixing a bug where previous values were set instead of empty,
  see c4071181404362b60b9d3a3aed9784b25459fffa

Something went wrong with that request. Please try again.