-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mariadb: add page #15771
base: main
Are you sure you want to change the base?
mariadb: add page #15771
Conversation
Added a '.' at the end of 'More information...' to go along with proper syntax.
Updated it for the second time due to improper syntax.
The build for this PR failed with the following error(s):
Please fix the error(s) and push again. |
Improper syntax, ran tldr-lint and received no errors. Therefore, the file should not be fixed. Apologies for the repeated attempts.
|
||
`mariadb {{db_name}}` | ||
|
||
- Connect to a specific MariaDB database {{db_name}} using {{user_name}} and {{your_password}}: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Connect to a specific MariaDB database {{db_name}} using {{user_name}} and {{your_password}}: | |
- Connect to a specific MariaDB database using username and password: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution!
|
||
`mariadb --user={{user_name}} --password={{your_password}} {{db_name}}` | ||
|
||
- Display help and exit: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Display help and exit: | |
- Display help: |
|
||
- Display help and exit: | ||
|
||
`mariadb -?, --help` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`mariadb -?, --help` | |
`mariadb --help` |
|
||
- Be more silent. Can be used multiple times to produce less output: | ||
|
||
`mariadb -s, --silent` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`mariadb -s, --silent` | |
`mariadb {{-s,-ss,-sss}}` |
Please fix this accordingly, I'm unsure if its correct, but based on most commands, 3 s
is probably the max.
|
||
`mariadb --show-warning` | ||
|
||
- Be more silent. Can be used multiple times to produce less output: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Be more silent. Can be used multiple times to produce less output: | |
- Display less verbose outputs: |
|
||
- Execute SQL statements in a script file (batch file): | ||
|
||
`mariadb {{db_name}} < {{/path/to/script.sql}} > {{/path/to/output.tab}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`mariadb {{db_name}} < {{/path/to/script.sql}} > {{/path/to/output.tab}}` | |
`mariadb {{db_name}} < {{path/to/script.sql}} > {{path/to/output.tab}}` |
We use relative paths when available.
|
||
`mariadb -s, --silent` | ||
|
||
- Execute SQL statements in a script file (batch file): |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- Execute SQL statements in a script file (batch file): | |
- Execute SQL statements from a script file: |
|
||
- For connections to local host , Unix socket file to use, or on Windows, the name of the named pipe to use: | ||
|
||
`mariadb -S, --socket={{/path/to/socket_name}}` |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
`mariadb -S, --socket={{/path/to/socket_name}}` | |
`mariadb -S, --socket={{path/to/socket_name}}` |
|
||
`mariadb --debug-check` | ||
|
||
- For connections to local host , Unix socket file to use, or on Windows, the name of the named pipe to use: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- For connections to local host , Unix socket file to use, or on Windows, the name of the named pipe to use: | |
- Connect using a socket file for local connections: |
common
,linux
,osx
,windows
,sunos
,android
, etc.