Last active
September 24, 2015 22:58
-
-
Save jmfederico/822650 to your computer and use it in GitHub Desktop.
Revisions
-
jmfederico renamed this gist
Apr 23, 2013 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jmfederico revised this gist
Apr 23, 2013 . 1 changed file with 7 additions and 0 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ # Start instance sudo mysqld --no-defaults --port=3307 --datadir=/var/lib/mysql-bak --user=mysql --socket=/tmp/mysql-bak # connect using TCP mysql --port=3307 -p --protocol=TCP # connect using socket mysql --socket=/tmp/mysql-bak -p -
jmfederico revised this gist
Aug 19, 2011 . 1 changed file with 4 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,2 +1,5 @@ # BackUp mysqldump --opt --password=miclave --user=miuser mibasededatos > archivo.sql # BackUp to bz2 mysqldump --opt --password=miclave --user=miuser mibasededatos | bzip2 -c > archivo.sql.bz2 -
jmfederico revised this gist
Feb 11, 2011 . 3 changed files with 4 additions and 5 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +0,0 @@ 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ # BackUp mysqldump --opt --password=miclave --user=miuser mibasededatos > archivo.sql 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,2 @@ # Restore mysql --password=miclave --user=miuser mibase < archivo.sql -
jmfederico renamed this gist
Feb 11, 2011 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
jmfederico revised this gist
Feb 11, 2011 . 1 changed file with 2 additions and 2 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,5 +1,5 @@ # BackUp mysqldump --opt --password=miclave --user=miuser mibasededatos > archivo.sql # Restore mysql --password=miclave --user=miuser mibase < archivo.sql -
jmfederico created this gist
Feb 11, 2011 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,5 @@ /* BackUp */ mysqldump --opt --password=miclave --user=miuser mibasededatos > archivo.sql /* Restore */ mysql --password=miclave --user=miuser mibase < archivo.sql