Skip to content

Commit 7cb13d4

Browse files
CopilotDamnCrab
andauthored
fix: correct MySQL URL format in docs and fix grammar typo
Agent-Logs-Url: https://github.com/DamnCrab/torrust-tracker/sessions/1b7dc46e-9918-4a95-91fe-29c1b375eb8a Co-authored-by: DamnCrab <42539593+DamnCrab@users.noreply.github.com>
1 parent 8614d7f commit 7cb13d4

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

packages/configuration/src/v2_0_0/database.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ pub struct Database {
1212
/// Database connection string. The format depends on the database driver.
1313
/// For `sqlite3`, the format is `path/to/database.db`, for example:
1414
/// `./storage/tracker/lib/database/sqlite3.db`.
15-
/// For `Mysql`, the format is `mysql://db_user:db_user_password:port/db_name`, for
15+
/// For `MySQL`, the format is `mysql://db_user:db_user_password@host:port/db_name`, for
1616
/// example: `mysql://root:password@localhost:3306/torrust`.
1717
/// For `PostgreSQL`, the format is `postgresql://db_user:db_user_password@host:port/db_name`, for
1818
/// example: `postgresql://root:password@localhost:5432/torrust`.

packages/tracker-core/src/databases/driver/postgres.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ mod tests {
419419
/*
420420
We run a PostgreSQL container and run all the tests against the same container and database.
421421
422-
Test for this driver are executed with:
422+
Tests for this driver are executed with:
423423
424424
`TORRUST_TRACKER_CORE_RUN_POSTGRES_DRIVER_TEST=true cargo test`
425425

0 commit comments

Comments
 (0)