- shell 執(zhí)行mysql命令
http://www.cnblogs.com/wangkangluo1/archive/2012/04/27/2472898.html
mysql -uroot -p123456 -e"drop database if exists jpress"
- if exits
drop database if exists jpress
mysql -uroot -p123456 -e"drop database if exists jpress"
drop database if exists jpress