Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

unamatasanatarai/nodejs-mysql-tutorial-routing

Repository files navigation

node.js playground with mysql

docker run --name mysql -e MYSQL_ROOT_PASSWORD=pass -p 3306:3306 mysql:5

.then(npm install)

.then(docker exec -it mysql mysql -uroot -ppass)

.then(create database tutorial;)

.then(node setup.js)

.then(node index.js)

.then(navigate to: http://localhost:8080)


to connect to the mysql run: docker exec -it mysql mysql -uroot -ppass

.then(use tutorial;)

.then(select count(id) from hello;)

Releases

No releases published

Packages

No packages published

AltStyle によって変換されたページ (->オリジナル) /