Connect to mysql

Possible duplicate:
How to connect to MySQL database in Python?

Is there a way to associate python with mysql db? I found something, but it seems to be windows only, and I work with Linux.

+3
source share
2 answers

You can use the MySQL-Python package. Download the distor database first before installing it from the source (you probably already have one). Keep in mind that all database packages (ours must) adhere to the Python API. This provides a standardized interface for all databases.

SQL, . , SQLAlchemy.

+3

MySQL-Python.

SQLAlchemy, ORM, sql, MySQL. , .

+4

Source: https://habr.com/ru/post/1782202/


All Articles