Created
September 23, 2022 14:48
-
-
Save 01yildizmustafa/34401636589d9d4c9f21c4c99192fb98 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import pymysql.cursors | |
mysql = pymysql.connect( | |
host='localhost', | |
user='root', | |
password='arkhembilgi', | |
charset='utf8mb4', | |
cursorclass=pymysql.cursors.DictCursor) | |
imleç = mysql.cursor() | |
veri_tabanı = imleç.execute("""CREATE DATABASE KÜTÜPHANE""") | |
düzen = imleç.execute("""CREATE TABLE KÜTÜPHANE (ID varchar(45), KİTAP_ADI varchar(45), YAZAR varchar(45), YAYINEVİ varchar(45))""") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment