1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-07-25 04:35:23 +02:00

split host and password examples

This commit is contained in:
Okke Formsma 2016-01-07 19:45:55 +01:00
parent c4147a5596
commit d4f3af45e3

View file

@ -8,11 +8,11 @@
- 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)