Mysql installation and development in windows _ MySQL

Source: Internet
Author: User
1: Download the installation package from the official website (under windows. when running the installation of the msi file, you only need to install the server. in the environment variable, configure it to the bin directory: e. g: C: programFile... after mysqlbin is completed, enter netstratamysql56 (56 is the version number) in windowsshell. 1 is mentioned: installation (in windows)

Download the. msi file from the official website

You only need to install the server when running the installation.

Configure the environment variable to the bin directory: e. g: C: \ programFile \... mysql \ bin

After entering net strata mysql56 (56 is the version number) in windows shell, the system prompts "the requested service is enabled" or "starting...", indicating that the configuration is successful.

2: remember that each SQL statement ends!

3: comment

#... Or --... or COMMENT '......'

4: tips: the upper and lower keys on the keyboard in shell can call commands that have been input before/after.

5: general operation:

Mysql-uroot-p;: enter your username after u

Show databases;: check which databases already exist

Use database name;: open an existing database

Show tables;: View tables in the current database

Exit: quit/exit

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.