Skip to content

Commit 3ff9b77

Browse files
committed
oops
1 parent d686660 commit 3ff9b77

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

example.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,7 @@
44

55
#conn = pymysql.connect(host='127.0.0.1', unix_socket='/tmp/mysql.sock', user='root', passwd=None, db='mysql')
66

7-
if False:
8-
conn = pymysql.connect(host='127.0.0.1', port=3306, user='testuser', passwd='testuser123', db='mysql')
9-
else:
10-
conn = pymysql.connect(host='127.0.0.1', port=3306, user='root', passwd='', db='mysql')
7+
conn = pymysql.connect(host='127.0.0.1', port=3306, user='root', passwd='', db='mysql')
118

129

1310
cur = conn.cursor()

0 commit comments

Comments
 (0)