You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 29, 2021. It is now read-only.
OperationalError rasies when try to a create a container with AlchemySessionContainer() with MySQL database:
sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (1170, "BLOB/TEXT column 'md5_digest' used in key specification without a key length")
[SQL: CREATE TABLE sent_files ( session_id VARCHAR(255) NOT NULL, md5_digest BLOB NOT NULL, file_size INTEGER NOT NULL, type INTEGER NOT NULL, id BIGINT, hash BIGINT, PRIMARY KEY (session_id, md5_digest, file_size, type)
OperationalError
rasies when try to a create a container withAlchemySessionContainer()
with MySQL database:sqlalchemy.exc.OperationalError: (MySQLdb._exceptions.OperationalError) (1170, "BLOB/TEXT column 'md5_digest' used in key specification without a key length")
[SQL: CREATE TABLE sent_files ( session_id VARCHAR(255) NOT NULL, md5_digest BLOB NOT NULL, file_size INTEGER NOT NULL, type INTEGER NOT NULL, id BIGINT, hash BIGINT, PRIMARY KEY (session_id, md5_digest, file_size, type)
Telethon v1.10.6
SQLAlchemy v1.3.10 (Dialect = MySQL v8.0.18, Driver = mysqlclient v1.4.4)
telethon-session-sqlalchemy v0.2.15
The text was updated successfully, but these errors were encountered: