Installation and use of MySQL tutorial

Source: Internet
Author: User

MySQL tutorial on installation and use

First, MySQL the download and installation

First login to MySQL's official website, choose Downloads→windows→mysql installer→windows (x86,32-bit), MSI Installer

At the time of installation, you may want to download the. NET Framework, download it directly, and then install it in one step.

Second, MySQL tutorial on using

(1) Login to MySQL via DOS

C:\>c:

C:\>CD program Files

C:\> program FILES>CD MySQL

C:\> program files> MYSQL>CD MySQL Server 5.7

C:\> program files> mysql> MySQL Server 5.7>cd Bin

C:\> program files> mysql> MySQL Server 5.7> bin> mysql–uroot–p123456

(2) Create a database

Create DATABASE name

(3) Select the desired database

Use database name

(4) Create a database table

CREATE TABLE Table name

(5) Inserting data into the table

insert into table name [(column name 1, column Name 2, ...)] VALUES (value 1, value 2, ...)

(6) Querying the data in a table

Select Column name from table name

Installation and use of MySQL tutorial

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.