Created
September 5, 2009 18:49
-
-
Save gvarela/181480 to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
sudo cp -R $1 /usr/local/mysql/data/$1 | |
sudo chown -R _mysql /usr/local/mysql/data/$1 | |
sudo chmod -R 660 /usr/local/mysql/data/$1 | |
sudo chmod 750 /usr/local/mysql/data/$1 |
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
#!/usr/bin/env bash | |
sudo cp ibdata1 /usr/local/mysql/data/ibdata1 | |
sudo chmod -R 660 /usr/local/mysql/data/ibdata1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment