I've written a code that should retrieve data from database with nodejs and mysql but it's not working.
It says the I didn't installed the mysql module but I did, using npm install:

The proof that I installed the mysql module successfully:

Is my code ok ? Keep in mind that I'm completely new to node.js.
var http = require('http');
http.createServer(function(request, response){
response.writeHead(200, {'Content-Type': 'text/plain'});
response.write('My first node server...');
var mysql = require('mysql');
var connection = mysql.createConnection({
host : 'localhost:8888',
user : 'root',
password: '',
database: 'test'
});
connection.connect();
connection.query('SELECT * FROM tabel_test', function(err, rows, fields){
if (!err) {
console.log('The result is ', rows);
} else {
console.log('No results.');
}
});
connection.end();
response.end();
}).listen(8888);