-
Notifications
You must be signed in to change notification settings - Fork 10.3k
[Hyperdrive] Setting up example of Hyperdrive <> DigitalOcean. #19947
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
Merged
Merged
Changes from 6 commits
Commits
Show all changes
9 commits
Select commit
Hold shift + click to select a range
a7b6f19
Setting up example of Hyperdrive <> DigitalOcean.
Oxyjun 958a79c
Adding continuation line.
Oxyjun 03495fb
Update src/content/docs/hyperdrive/examples/digital-ocean.mdx
Oxyjun da9951a
Update src/content/docs/hyperdrive/examples/digital-ocean.mdx
thomasgauvin 225d3b0
Merge commit '70cc5d619d557817ab600ea1940f1b7e645f3ae2' into jun/hype…
Oxyjun eb1a1cd
Adding troubleshooting note for DigitalOcean example.
Oxyjun 6402ada
Making the title length cleaner on the sidebar.
Oxyjun ff5b2c7
Update src/content/docs/hyperdrive/examples/digital-ocean.mdx
Oxyjun 028d325
Update src/content/docs/hyperdrive/examples/digital-ocean.mdx
Oxyjun File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,36 @@ | ||
| --- | ||
| type: example | ||
| summary: Connect Hyperdrive to a Digital Ocean database instance. | ||
| pcx_content_type: example | ||
| title: Connect to Digital Ocean | ||
| sidebar: | ||
| order: 7 | ||
| description: Connect Hyperdrive to a Digital Ocean database instance. | ||
| --- | ||
|
|
||
| import { Render } from "~/components"; | ||
|
|
||
| This example shows you how to connect Hyperdrive to a Digital Ocean database instance. | ||
|
|
||
|
|
||
| ## 1. Allow Hyperdrive access | ||
|
|
||
| To allow Hyperdrive to connect to your database, you will need to ensure that Hyperdrive has valid user credentials and network access. | ||
|
|
||
| ### DigitalOcean Dashboard | ||
|
|
||
| 1. Go to the DigitalOcean dashboard and select the database you wish to connect to. | ||
| 2. Go to the **Overview** tab. | ||
| 3. Under the **Connection Details** panel, select **Public network**. | ||
| 4. On the dropdown menu, select **Connection string** and click **show-password**. | ||
Oxyjun marked this conversation as resolved.
Outdated
Show resolved
Hide resolved
|
||
| 5. Copy the connection string. | ||
|
|
||
| With the connection string, you can now create a Hyperdrive database configuration. | ||
|
|
||
| ## 2. Create a database configuration | ||
|
|
||
| <Render file="create-hyperdrive-config" /> | ||
|
|
||
| :::note | ||
| If you see a DNS-related error, it is possible that the DNS for your vendor's database has not yet been propagated. Try waiting 10 minutes before retrying the operation. Refer to [DigitalOcean support page](https://docs.digitalocean.com/support/why-does-my-domain-fail-to-resolve/) for more information. | ||
| ::: | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.