mysql 每次重建数据库及表结构

drop database if exists db_local;

create database if not exists db_local;

use db_local;

source XXX.sql

注:XXX.sql为新建表结构的sql文件

猜你喜欢

转载自xuantan.iteye.com/blog/1544710