Home  >  Article  >  Database  >  Basic operations of MySQL quick start

Basic operations of MySQL quick start

黄舟
黄舟Original
2017-08-02 16:09:502193browse

Introduces the basic operations of MySQL on the database and common configurations of MySQL

1. Basic database configuration (server + client + storage engine configuration)

Basic operations of MySQL quick start

2. MySQL storage engine description: MyISAM storage engine: does not support transactions, does not support foreign keys, and has fast access speed. Suitable for applications that do not require transaction integrity.

InnDB storage engine: suitable for applications that have high requirements for transaction integrity and require concurrency control. MEMORY storage engine; memory stores data and has fast data access speed, suitable for applications with small data that require fast access

Basic operations of MySQL quick start

##3. Create database baidu:

create database baidu;

Basic operations of MySQL quick start

##4. View database baidu:

show databases;

Basic operations of MySQL quick start

5. Use database baidu: use baidu;

Basic operations of MySQL quick start


##6. Delete database baidu: drop database baidu;

Basic operations of MySQL quick start

##

The above is the detailed content of Basic operations of MySQL quick start. For more information, please follow other related articles on the PHP Chinese website!

Statement:
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