-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1c70279
commit 5608718
Showing
20 changed files
with
255 additions
and
168 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 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 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 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 |
---|---|---|
@@ -1,28 +1,23 @@ | ||
# MariaDB Connector Module | ||
# MariaDB Catalog Module | ||
|
||
This module provisions a standalone MariaDB service. By default, it is exposed | ||
to the internal Docker network only via: | ||
|
||
```yaml | ||
ports: | ||
- :3306 | ||
``` | ||
ports: | ||
- :3306 | ||
|
||
To expose it at the host level, add a port to the left of the colon, e.g.: | ||
|
||
```yaml | ||
ports: | ||
- 3307:3306 | ||
``` | ||
ports: | ||
- 3307:3306 | ||
|
||
This will allow you to connect to the service from any SQL client that supports | ||
MariaDB drivers on `localhost:3307`. | ||
MariaDB drivers on `localhost:3307`. Note that a unique port (`3307`) was used | ||
here as the MySQL module already claims the host port `3306`. | ||
|
||
## Usage | ||
|
||
```sh | ||
minitrino provision -m mariadb | ||
docker exec -it trino bash | ||
trino-cli | ||
trino> show schemas from mariadb; | ||
``` | ||
minitrino --env STARBURST_VER=<ver> provision --module mariadb | ||
docker exec -it trino bash | ||
trino-cli | ||
trino> show schemas from mariadb; |
Oops, something went wrong.