Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove untested and outdated 'azuresql.sql' #3086

Merged
merged 1 commit into from
Apr 19, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions doc/advanced-configuration/database-backends-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,11 @@ ALTER DATABASE $name_of_your_db SET READ_COMMITTED_SNAPSHOT ON

The command above may take some time.

Then you need to import the SQL schema from either ``mssql2012.sql`` or ``azuresql.sql`` file depending on which database you are using.
Then you need to import the SQL schema from ``mssql2012.sql``.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor: I think that single grave accents are enough:

Suggested change
Then you need to import the SQL schema from ``mssql2012.sql``.
Then you need to import the SQL schema from `mssql2012.sql`.

You can use a Microsoft's GUI tool (the provided .sql files should work with it) or isql, but after a slight modification of the dump file:

```bash
cat azuresql.sql | tr -d '\r' | tr '\n' ' ' | sed 's/GO/\n/g' |
cat mssql2012.sql | tr -d '\r' | tr '\n' ' ' | sed 's/GO/\n/g' |
isql mongoose-mssql username password -b
```

Expand All @@ -220,8 +220,8 @@ Configure the `outgoing_pools.rdbms` section as follows:

```toml
[outgoing_pools.rdbms.default]
workers = 5
workers = 5

[outgoing_pools.rdbms.default.connection]
driver = "odbc"
settings = "DSN=mongoose-mssql;UID=username;PWD=password"
Expand Down
Loading