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

(6.0) Minor db access docs updates #5835

Merged
merged 3 commits into from
Mar 4, 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
2 changes: 1 addition & 1 deletion docs/pages/database-access/architecture.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ can refer to.

For configuring graphical clients, there is a `tsh db config` command that
prints detailed information about the connection such as host/port and location
of the secrets. See [GUI Clients](./gui-clients.mdx) for details.
of the secrets. See [GUI Clients](./guides/gui-clients.mdx) for details.

### Proxy to Database Service

Expand Down
7 changes: 7 additions & 0 deletions docs/pages/database-access/guides/mysql-aws.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,13 @@ access. For MySQL:
CREATE USER alice IDENTIFIED WITH AWSAuthenticationPlugin AS 'RDS';
```

By default the created user may not have access to anything and won't be able
to connect so let's grant it some permissions:

```sql
GRANT ALL ON `%`.* TO 'alice'@'%';
```

See [Creating a database account using IAM authentication](https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/UsingWithRDS.IAMDBAuth.DBAccounts.html)
for more information.

Expand Down
7 changes: 7 additions & 0 deletions docs/pages/database-access/guides/mysql-self-hosted.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,13 @@ CREATE USER 'alice'@'%' REQUIRE X509;
ALTER USER 'alice'@'%' REQUIRE X509;
```

By default the created user may not have access to anything and won't be able
to connect so let's grant it some permissions:

```sql
GRANT ALL ON `%`.* TO 'alice'@'%';
```

See [Configuring MySQL to Use Encrypted Connections](https://dev.mysql.com/doc/refman/8.0/en/using-encrypted-connections.html)
in MySQL documentation for more details.

Expand Down