16 lines
499 B
Python
16 lines
499 B
Python
|
import pymysql.cursors
|
||
|
|
||
|
con = pymysql.connect(host='192.168.1.52',
|
||
|
user='Quentin',
|
||
|
password='kaPl0wskii',
|
||
|
db='serverIDs',
|
||
|
charset='utf8mb4',
|
||
|
cursorclass=pymysql.cursors.DictCursor)
|
||
|
|
||
|
with con:
|
||
|
|
||
|
cur = con.cursor()
|
||
|
cur.execute("INSERT INTO servers (name, tags, invite, description) VALUES ('Not Very Official Changed "
|
||
|
"Server','furry, rp', 'invitelink.com','N/A')")
|
||
|
|