Skip to content
Snippets Groups Projects
Unverified Commit b1a2aedd authored by Matt Silverlock's avatar Matt Silverlock Committed by GitHub
Browse files

[Hyperdrive] Update _create-hyperdrive-config.md (#10980)


* hyperdrive: Update _create-hyperdrive-config.md

Fix wrangler command.

* Update _create-hyperdrive-config.md

* Update content/hyperdrive/_partials/_create-hyperdrive-config.md

Co-authored-by: default avatarKian <kian@kian.org.uk>

---------

Co-authored-by: default avatarKian <kian@kian.org.uk>
parent 410f37af
No related branches found
No related tags found
No related merge requests found
......@@ -23,7 +23,7 @@ Most database providers will provide a connection string you can directly copy-a
To create a Hyperdrive configuration with the [Wrangler CLI](/workers/wrangler/install-and-update/), open your terminal and run the following command, pasting the connection string provided from your database host, or replacing `user`, `password`, `HOSTNAME_OR_IP_ADDRESS`, `port`, and `database_name` placeholders with those specific to your database:
```sh
$ wrangler hyperdrive database create $CONFIG_NAME --connection-string="postgres://user:password@HOSTNAME_OR_IP_ADDRESS:PORT/database_name
$ wrangler hyperdrive create <database-name-here> --connection-string="postgres://user:password@HOSTNAME_OR_IP_ADDRESS:PORT/database_name"
```
{{<Aside type="note">}}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment