Fixes pull request #433 and #434

Author:    Vlad <vpoltava@gmail.com>
Date:      Mon Dec 28 22:49:37 2015 +0000
waldyrious/alt-syntax
Vlad 2015-12-28 22:49:37 +00:00 committed by Vlad Sushko
parent 235c7f1879
commit 2479464ff3
2 changed files with 6 additions and 6 deletions

View File

@ -6,9 +6,9 @@
`mysql {{database_name}}` `mysql {{database_name}}`
- Connect to a database using credentials - Connect to a database, user will be prompted for a password
`mysql -u {{user}} -p{{password}} {{database_name}}` `mysql -u {{user}} --password {{database_name}}`
- Execute SQL statements in a script file (batch file) - Execute SQL statements in a script file (batch file)

View File

@ -2,10 +2,10 @@
> Backups mysql databases > Backups mysql databases
- creating a backup - Create a backup, user will be prompted for a password
`mysqldump -u {{user}} -p{{password}} {{database_name}} > {{filename.sql}}` `mysqldump -u {{user}} --password {{database_name}} > {{filename.sql}}`
- restoring a backup - Restoring a backup, user will be prompted for a password
`mysql -u {{user}} -p{{password}} {{database_name}} < {{filename.sql}}` `mysql -u {{user}} --password {{database_name}} < {{filename.sql}}`