We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9ff9364 commit 63948cbCopy full SHA for 63948cb
modules/mysql/testcontainers/mysql/__init__.py
@@ -38,7 +38,7 @@ class MySqlContainer(DbContainer):
38
>>> import sqlalchemy
39
>>> from testcontainers.mysql import MySqlContainer
40
41
- >>> with MySqlContainer('mysql:5.7.17') as mysql:
+ >>> with MySqlContainer("mysql:5.7.17", dialect="pymysql") as mysql:
42
... engine = sqlalchemy.create_engine(mysql.get_connection_url())
43
... with engine.begin() as connection:
44
... result = connection.execute(sqlalchemy.text("select version()"))
0 commit comments