Mysql Learning 1 --- create, view, and delete Databases

Source: Internet
Author: User

Mysql Learning 1 --- CREATE, view, and delete a DATABASE 1. CREATE, view, and delete a DATABASE in Mysql. You must use the SQL statement CREATE DATABASE to CREATE a DATABASE:
Create database name; view the DATABASE and use the SHOW statement: show databases;
In Mysql, you need to use the SQL statement DROP DATABASE to delete a DATABASE: DROP DATABASE name; www.2cto.com 2. view the DATABASE storage engine. You can use the SHOW ENGIES statement to view the engines supported by the Mysql DATABASE:
Show engines; you can also end with "\ g" or "\ G. "\ G" and ";" have the same effect. "\ G" can make the results display more beautiful. Author junjieguo

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.