Created
September 30, 2016 14:45
-
-
Save maoizm/66e907de4063c4ddfee9eacb4b1f82fb to your computer and use it in GitHub Desktop.
Restores mysql database from sql dump
This file contains hidden or 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
#!/bin/bash | |
gunzip < $1 | mysql -uпользователь -pпароль --database=имяБазыДанных |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment