| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -105,7 +105,7 @@ The following examples make use of a simple table | |||
| 105 | 105 | connection = pymysql.connect(host='localhost', | |
| 106 | 106 | user='user', | |
| 107 | 107 | password='passwd', | |
| 108 | - db='db', | ||
| 108 | + database='db', | ||
| 109 | 109 | cursorclass=pymysql.cursors.DictCursor) | |
| 110 | 110 | ||
| 111 | 111 | with connection: | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -30,7 +30,7 @@ The following examples make use of a simple table | |||
| 30 | 30 | connection = pymysql.connect(host='localhost', | |
| 31 | 31 | user='user', | |
| 32 | 32 | password='passwd', | |
| 33 | - db='db', | ||
| 33 | + database='db', | ||
| 34 | 34 | charset='utf8mb4', | |
| 35 | 35 | cursorclass=pymysql.cursors.DictCursor) | |
| 36 | 36 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments