写sql时表名、字段名都不可以有单引号,否则编译不通过
String sql ="CREATE TABLE upload ("+
" id bigint(20) NOT NULL AUTO_INCREMENT,"+
" upload_id bigint(20) DEFAULT '0' COMMENT '视频上传id',"+
"PRIMARY KEY ( id ),"+
"KEY index_upload_id ( upload_id )
") ENGINE=InnoDB DEFAULT CHARSET=utf8";