Вот код:
Код: Выделить всё
import mysql.connector;
# --- Adatbázis kapcsolat beállítása ---
conn = mysql.connector.connect(
host="localhost",
user="root", #
Подробнее здесь: [url]https://stackoverflow.com/questions/79803659/i-am-making-a-python-database-with-mysql-it-gives-me-this-error-in-the-terminal[/url]
Мобильная версия