mysql---数据库操作

1)查看已有数据库

show databases;

2)创建数据库

create database (if not exists) mytest;

3)删除数据库

drop database (if exists) mytest;

4)指定当前数据库

use mytest;

猜你喜欢

转载自blog.csdn.net/weixin_39317792/article/details/81186944