Home > Database > Mysql Tutorial > Mysql学习1―――创建、查看、删除数据库_MySQL

Mysql学习1―――创建、查看、删除数据库_MySQL

WBOY
Release: 2016-06-01 13:41:49
Original
990 people have browsed it

bitsCN.com Mysql学习1———创建、查看、删除数据库 1、创建、查看、删除数据库   在Mysql中,创建数据库必须通过SQL语句CREATE DATABASE实现:
 CREATE DATABASE 数据库名;   查看数据库,通过SHOW语句进行实现:    SHOW DATABASES;
    在Mysql中,删除数据库需要通过SQL语句DROP DATABASE 实现:    DROP DATABASE 数据库名;     2、查看数据库存储引擎   通过SHOW ENGIES语句可以查看Mysql数据库支持的引擎:
     SHOW ENGINES;也可以用”/g“或者“/G”结束。“/g”与“;”效果相同,“/G”可以使结果显示更加美观。  作者 junjieguo bitsCN.com

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template