MySQL for node.js

I am trying to create a database for my node.js server using MySQL. I am aware of the node-mysql module. I found an example here but am not able to make it work. I have MySQL Workbench installed on my computer, will that do? Or do I have to install something else from here? Please point me to some nice tutorials for setting up a connection between my server and MySQL.