با سلام
من قصد ایجاد پایگاه داده با استفاده از اتصال پایتون و mysql را دارم اما با خطای
The Kernel crashed while executing code in the current cell or a previous cell.
Please review the code in the cell(s) to identify a possible cause of the failure.
مواجهه شدم
ممنون میشم راهنمایی بفرمایید
import mysql.connector
mydb = mysql.connector.connect(
host="localhost",
user="root",
password="1234"
)
mycursor = mydb.cursor()
mycursor.execute("CREATE DATABASE mydatabase")
اولین نفری باشید که به این پرسش کمک میکند و مسیر حل مشکل را باز میکند.
اولین پاسخ را بنویسیدشاید پاسخ شما همینجا باشد