mariano / node-db-mysql

MySQL database bindings for Node.js
http://nodejsdb.org
150 stars 30 forks source link

Error in Quick Start Guide. #99

Closed geekinthesticks closed 11 years ago

geekinthesticks commented 11 years ago

Shouldn't:

var mysql = require('db-mysql');

be

var mysql = require('node-db-mysql');
raadad commented 11 years ago

If you were to install this via the npm registry, it gets names as db-mysql in your node_modules folder, because of the advice I gave you previously, it created the folder names node-db-mysql.

you can rename it back to db-mysql in your node-modules, if you want things to "just work" when this package is updated

Hope that helps.

geekinthesticks commented 11 years ago

Thanks for the explanation. Time to read a few more man pages:)