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
On this page of the site you can watch the video online #Node with a duration of hours minute second in good quality, which was uploaded by the user Thamizharasan Mohan 19 August 2017, share the link with friends and acquaintances, this video has already been watched 4,725 times on youtube and it was liked by 29 viewers. Enjoy your viewing!