This repository was archived by the owner on Aug 19, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Expand file tree Collapse file tree 2 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1111 tests :
1212 name : " Python ${{ matrix.python-version }}"
1313 runs-on : " ubuntu-latest"
14+ env :
15+ MSSQL_SA_PASSWORD : Mssql123$#mssql
1416
1517 strategy :
1618 matrix :
4143 mssql :
4244 image : mcr.microsoft.com/mssql/server:2019-GA-ubuntu-16.04
4345 env :
44- MSSQL_SA_PASSWORD : " Mssql123$#mssql "
46+ MSSQL_SA_PASSWORD : ${{ env.MSSQL_SA_PASSWORD }}
4547 ACCEPT_EULA : " Y"
4648 MSSQL_PID : Express
4749 ports :
8082 postgresql://username:password@localhost:5432/testsuite,
8183 postgresql+aiopg://username:[email protected] :5432/testsuite, 8284 postgresql+asyncpg://username:password@localhost:5432/testsuite,
83- mssql://sa:Mssql123$#mssql@localhost :1433/master?driver=ODBC+Driver+17+for+SQL+Server,
84- mssql+pyodbc://sa:Mssql123$#mssql@localhost :1433/master?driver=ODBC+Driver+17+for+SQL+Server,
85- mssql+aioodbc://sa:Mssql123$#mssql@localhost :1433/master?driver=ODBC+Driver+17+for+SQL+Server
85+ mssql://sa:Mssql123$#mssql@127.0.0.1 :1433/master?driver=ODBC+Driver+17+for+SQL+Server,
86+ mssql+pyodbc://sa:Mssql123$#mssql@127.0.0.1 :1433/master?driver=ODBC+Driver+17+for+SQL+Server,
87+ mssql+aioodbc://sa:Mssql123$#mssql@127.0.0.1 :1433/master?driver=ODBC+Driver+17+for+SQL+Server
8688 run : " scripts/test"
Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ async def connect(self) -> None:
7878 user = self ._database_url .username or getpass .getuser ()
7979 password = self ._database_url .password
8080
81- dsn = f"Driver={ driver } ;Database={ database } ;Server={ hostname } ;UID={ user } ;PWD={ password } ;Port= { port } "
81+ dsn = f"Driver={ driver } ;Database={ database } ;Server={ hostname } , { port } ;UID={ user } ;PWD={ password } ;"
8282
8383 self ._pool = await aioodbc .create_pool (
8484 dsn = dsn ,
You can’t perform that action at this time.
0 commit comments