文章浏览阅读1.1k次。1.创建数据库SQL语句use mastergoif exists(select * from sysdatabases where name='CommonPermission')begin select '该数据库已存在' drop database CommonPermission --如果该数据库已经存在,那么就删除它endelsebegin creat..._用sql语句创建数据......
对表,库,表结构的备份与恢复,具体操作如下[root@dl-001 ~]# mysql -uroot //登录MysqlWelcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 2Server version: 5.6.35 MySQL Community Serve...