Skip to content

Commit 1e3cc9b

Browse files
Change port
1 parent 3aa48b3 commit 1e3cc9b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

docs/examples/sqlcommenter/README.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ A running MySQL server with general logs enabled will store query statements wit
2020
2121
cd books_database
2222
docker build -t books-db .
23-
docker run -d --name books-db -p 3306:3306 books-db
23+
docker run -d --name books-db -p 3366:3306 books-db
2424
cd ..
2525
2626
Check that the run worked and the general log is available:

docs/examples/sqlcommenter/instrumented_query.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,8 @@
4747
)
4848

4949
cnx = connect(
50-
host="127.0.0.1",
51-
port=3306,
50+
host="localhost",
51+
port=3366,
5252
user="books",
5353
password="books123",
5454
database="books",

0 commit comments

Comments
 (0)