Home > Database > Mysql Tutorial > body text

Basic operations of MySQL quick start

黄舟
Release: 2017-08-02 16:09:50
Original
2226 people have browsed it

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;
Copy after login

Basic operations of MySQL quick start

##4. View database baidu:

show databases;
Copy after login

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!

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