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 7354bcc

Browse files
chore: Add TKInterface.key to .gitignore
1 parent e8c0835 commit 7354bcc

File tree

2 files changed

+17
-0
lines changed

2 files changed

+17
-0
lines changed

‎.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
# Ignore databaseUpdate.key file
22
databaseUpdate.key
3+
TKInterface.key

‎sqlLearning.py

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
import mysql. connector
2+
conn = mysql.connector.connect(
3+
host="127.8.8.1,
4+
user="root", password="root",* database="vt"
5+
With the help of execute ( one can run any MySQL
6+
query
7+
15
8+
1
9+
18
10+
19
11+
20
12+
Showing list of tables
13+
mycur=conn.cursor()
14+
mycur.execute("show tables") for tb in mycur:
15+
print(tb)
16+
conn.close)

0 commit comments

Comments
(0)

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