diff --git a/Readme.md b/Readme.md index 2f34a6d3d..4daadda90 100644 --- a/Readme.md +++ b/Readme.md @@ -311,7 +311,8 @@ var pool = mysql.createPool({ connectionLimit : 10, host : 'example.org', user : 'bob', - password : 'secret' + password : 'secret', + database : 'my_db' }); pool.query('SELECT 1 + 1 AS solution', function(err, rows, fields) { @@ -329,7 +330,8 @@ var mysql = require('mysql'); var pool = mysql.createPool({ host : 'example.org', user : 'bob', - password : 'secret' + password : 'secret', + database : 'my_db' }); pool.getConnection(function(err, connection) {