Skip to content
This repository has been archived by the owner on Oct 25, 2022. It is now read-only.

Commit

Permalink
WhyODBC
Browse files Browse the repository at this point in the history
  • Loading branch information
tweirtx committed Jan 17, 2020
1 parent 71eb76c commit d301d7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ci_configurator.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
config['db_url'] = "mysql://timetracker:timetracker@localhost/timetracking"
elif os.getenv('DB_TYPE') == "mssql":
print("Configuring MSSQL")
config['db_url'] = "mssql+pyodbc://sa:Password12!@localhost/master"
config['db_url'] = "mssql+pyodbc://sa:Password12!@localhost/master?driver=SQL+Server"
else:
print("I can't handle this!")

Expand Down
2 changes: 1 addition & 1 deletion docs/advanced.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@ timetracker user. Grant the Alter and Create Table permissions.

The db_url schema for postgres is as follows: ```mssql+pymssql://user:password@host_ip_or_domain/db_name```.
So assuming you use the defaults provided by my instructions, your URL would be
```"mssql+pyobdc://timetracker:timetracker@localhost/timetracker"```.
```"mssql+pyobdc://timetracker:timetracker@localhost/timetracker?driver=SQL+Server"```.

0 comments on commit d301d7c

Please sign in to comment.