Created
August 23, 2012 00:11
-
-
Save JoseRibeiro/3430780 to your computer and use it in GitHub Desktop.
Test running in memory engine for MySQL
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 | |
PASS=root | |
mysqldump -uroot -p${PASS} --no-data myapp_development | \ | |
sed -e 's/ text/ varchar(255)/' | \ | |
sed -e 's/ENGINE=InnoDB/ENGINE=Memory/' | \ | |
mysql -uroot -p${PASS} myapp_test |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment