let connection = mysql.createConnection({ host: 'localhost', user: 'root', password: '', database: 'todoapp' }); Code language: JavaScript (javascript)