-
Notifications
You must be signed in to change notification settings - Fork 118
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #218 from teoincontatto/release-1.0.0
Release 1.0.0
- Loading branch information
Showing
15 changed files
with
135 additions
and
198 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
This file was deleted.
Oops, something went wrong.
This file contains 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 @@ | ||
<h1>Configuring the MySQL Connection</h1> | ||
|
||
ToroDB Stampede uses the following defaults to connect to MySQL: | ||
|
||
```json | ||
backend: | ||
mysql: | ||
host: localhost | ||
port: 5432 | ||
database: torod | ||
user: torodb | ||
toropassFile: "~/.toropass" | ||
applicationName: "toro" | ||
ssl: false | ||
``` | ||
The [Options Reference](options-reference.md#mysql-configuration) explains these settings in detail. | ||
|
||
## Password Configuration | ||
|
||
There are two ways to provide the MySQL password: | ||
|
||
* Use the `--ask-for-password` option to enter the password manually at startup | ||
* Use a `toropassFile` as as described in [Creating a `.toropass` file](/installation/prerequisites/#creating-a-toropass-file) | ||
|
||
## Backend Connection Pooling | ||
|
||
ToroDB Stampede uses a connection pool for the backend connections. Its size and timeout (if no connection is available) can be adjusted. The default configuration is as follows: | ||
|
||
```json | ||
backend: | ||
pool: | ||
connectionPoolTimeout: 10000 | ||
connectionPoolSize: 30 | ||
``` | ||
|
||
The [Options Reference](options-reference.md#torodb-stampede-pool-configuration) explains these settings in detail. |
Oops, something went wrong.