Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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