I am Hack Sparrow
Captain of the Internets.

Using MySQL with Node.js

New to Node.js and wondering if you can use your old friend MySQL with it? Good news - it is surprisingly very easy to get MySQL working with Node.js. This article guides you through the process. First of all, you'll need to install an aptly named Node.js module called . [code] $ npm install mysql [/code] The module is entirely written in Node.js, and implements an async MySQL client. Mad respect to t ...

Using Redis with Node.js

Redis is an in-memory 'database' system which gives an incredibly fast read-write access to data. Once you start using Node.js, you are very likely to be introduced to NoSQL, and Redis might strike you as one of the most outstanding among them. Do you want to use Redis with Node.js, but have no idea where to begin? This concise but illustrative article will show you just how to get Redis kick started with Node.js. Node.js has an excellently written ...

MySQL: How to copy a MySQL table

Probably you figured out how to backup and create a copy of your whole database already. But that's not what we wanna do all the time, sometimes you just wanna create a copy of a certain table before you experiment and do stuff on the target table. Before we start copying the whole table, probably there is another requirement you might have. Maybe you don't wanna create a copy of the table with all its contents, maybe you just wanna b ...