Skip to content

Commit

Permalink
Fixed Code Sample
Browse files Browse the repository at this point in the history
  • Loading branch information
bminer committed Sep 13, 2013
1 parent f8bd05a commit 8c46e02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -40,7 +40,7 @@ also been tested with node-mysql 2.0.

```javascript
var mysql = require('mysql');
var client = mysql.createClient({
var client = mysql.createConnection({ //Use `mysql.createClient` in older versions of node-mysql
user: 'root',
password: 'root'
});
Expand Down

0 comments on commit 8c46e02

Please sign in to comment.