mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-08-02 22:35:39 +02:00
split host and password examples
This commit is contained in:
parent
c4147a5596
commit
d4f3af45e3
1 changed files with 3 additions and 3 deletions
|
@ -8,11 +8,11 @@
|
||||||
|
|
||||||
- Connect to a database using credentials
|
- Connect to a database using credentials
|
||||||
|
|
||||||
`mysql -h {{database_host}} -u {{user}} -p{{password}} {{database_name}}`
|
`mysql -u {{user}} -p{{password}} {{database_name}}`
|
||||||
|
|
||||||
- Connect to a database on a different host. MySQL will prompt for a password if none is supplied.
|
- Connect to a database on another host
|
||||||
|
|
||||||
`mysql -h {{database_host}} -u {{user}} -p {{database_name}}`
|
`mysql -h {{database_host}}
|
||||||
|
|
||||||
- Execute SQL statements in a script file (batch file)
|
- Execute SQL statements in a script file (batch file)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue