Skip to content

Commit b105551

Browse files
author
litongjava
committed
add java run with jdb info
1 parent 50d3452 commit b105551

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

frameworks/Java/tio-server/README.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,16 @@ All implementations use the same URLs.
7878

7979
```
8080
docker run --rm -p 8080:8080 tio-server-benchmark
81-
```
81+
```
82+
83+
The run is to specify the mysql database
84+
**java**
85+
-windows
86+
```
87+
D:\java\jdk1.8.0_121\bin\java -jar target\tio-server-benchmark-1.0.jar --jdbc.url=jdbc:mysql://192.168.3.9/hello_world --jdbc.user=root --jdbc.pswd=robot_123456#
88+
```
89+
**docker**
90+
91+
```
92+
docker run --rm -p 8080:8080 tio-server-benchmark --jdbc.url=jdbc:mysql://192.168.3.9/hello_world --jdbc.user=root --jdbc.pswd=robot_123456#
93+
```

0 commit comments

Comments
 (0)