This tutorial will explain how to establish a connection to MySQL database in Node.js
Use the following queries to build your database and tables
CREATE SCHEMA `tutorial` ;
CREATE TABLE `tutorial`.`student` (
`id` INT NOT NULL AUTO_INCREMENT,
`name` VARCHAR(100) NULL,
`email` VARCHAR(100) NOT NULL UNIQUE,
PRIMARY KEY (`id`))
COMMENT = 'table for student';
INSERT INTO `tutorial`.`student` (`name`, `email`) VALUES ('Thamizharasan', 'thamizh.cool21@gmail.com');
INSERT INTO `tutorial`.`student` (`name`, `email`) VALUES ('Mohan', 't.m@gmail.com');
INSERT INTO `tutorial`.`student` (`name`, `email`) VALUES ('John', 'john@gmail.com');
For the complete list of node.js tutorials check out the below playlist...
https://goo.gl/G83zA5
Sur cette page du site, vous pouvez voir la vidéo en ligne #Node durée heure minute seconde en bonne qualité , qui a été Téléchargé par l'utilisateur Thamizharasan Mohan 19 août 2017, Partagez le lien avec vos amis et connaissances, sur youtube cette vidéo a déjà été regardée 4,725 fois et il a aimé 29 téléspectateurs. Bon visionnage!