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

Commit e87b032

Browse files
Update README.md
1 parent f2d0463 commit e87b032

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

‎README.md‎

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,24 +2,20 @@ node.js playground with mysql
22
===
33
```docker run --name mysql -e MYSQL_ROOT_PASSWORD=pass -p 3306:3306 mysql:5```
44

5-
.then
6-
```
7-
docker exec -it mysql mysql -uroot -ppass
8-
create database tutorial;
9-
```
5+
.then(`docker exec -it mysql mysql -uroot -ppass`)
106

11-
.then
12-
```node setup.js```
7+
.then(`create database tutorial;`)
138

14-
.then
15-
```node index.js```
9+
.then(`node setup.js`)
1610

17-
.then navigate to: http://localhost:8080
11+
.then(`node index.js`)
1812

13+
.then(navigate to: http://localhost:8080)
1914

15+
---
2016
to connect to the mysql run:
2117
```docker exec -it mysql mysql -uroot -ppass```
2218

23-
.then
24-
```use tutorial;
25-
select count(id) from hello;```
19+
.then(`use tutorial;`)
20+
21+
.then(`select count(id) from hello;`)

0 commit comments

Comments
(0)

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