mysql> create database hibernate;
mysql> use hibernate;
mysql> create table teacher(id int primary key,name varchar(20),title varchar(10));
建表前先create database,再use
mysql> use hibernate;
mysql> create table teacher(id int primary key,name varchar(20),title varchar(10));
建表前先create database,再use