Skip to content

Commit

Permalink
Typo in login credentials in memory server docs (#765)
Browse files Browse the repository at this point in the history
  • Loading branch information
ibilux authored Aug 20, 2024
1 parent 33cc51b commit 80559be
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,13 @@ surreal start --log trace memory
In order to keep SurrealDB secure, configure your initial root-level user by setting the *`--user`* and *`--pass`* command-line arguments. The following command starts the database with a top-level user named `root` with a password also set to `root`.

```bash
surreal start --log trace memory
surreal start --log trace --user root --pass root memory
```

The previous command will bootstrap the server with the provided initial credentials, you can now remove those args and rely on [DEFINE USER](/docs/surrealdb/surrealql/statements/define/user) to change the password or create more users.

```bash
surreal start --log trace memory
surreal start --log trace --user username --pass 123456 memory
```
In order to change the default port that SurrealDB uses for web connections and from database clients you can use the *`--bind`* argument. The following command starts the database on port `8080`.

Expand Down

0 comments on commit 80559be

Please sign in to comment.