Skip to content

Commit

Permalink
Fix syntax in mysql setup documentation (#24893 (#24939)
Browse files Browse the repository at this point in the history
In the 'set-up-databases' documentation the code block was not working on newer versions of mssql. Updated the docs so that the query works on supported 2017 and 2019 versions of mssql
  • Loading branch information
nigel-millward committed Jul 9, 2022
1 parent aae9b93 commit 335bd60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/apache-airflow/howto/set-up-database.rst
Expand Up @@ -325,7 +325,7 @@ You can read more about transaction isolation and snapshot features at
CREATE LOGIN airflow_user WITH PASSWORD='airflow_pass123%';
USE airflow;
CREATE USER airflow_user FROM LOGIN airflow_user;
GRANT ALL PRIVILEGES ON DATABASE airflow TO airflow_user;
GRANT ALL PRIVILEGES ON DATABASE::airflow TO airflow_user;
We recommend using the ``mssql+pyodbc`` driver and specifying it in your SqlAlchemy connection string.
Expand Down

0 comments on commit 335bd60

Please sign in to comment.