skraps

mysql convert engine

Jun 3rd, 2011
105
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.20 KB | None | 0 0
  1. comand=`mysql -u root -pPASSWORD -o video_directon -N -e "show tables;" | awk '{print $1}'`; for a in $command; do mysql -u root -pPASSWORD -o video_directon -N -e "ALTER TABLE ${a} ENGINE = INNODB;"; done
Advertisement
Add Comment
Please, Sign In to add comment