Mysql 5.7.14 installation and configuration graphic tutorial, mysql5.7.14

Source: Internet
Author: User

Mysql 5.7.14 installation and configuration graphic tutorial, mysql5.7.14

You need to install Mysql on your local machine. First, record the installation process as follows.

1. Download Software

1. Enter the mysql official website, log on to your oracle account, download Mysql-5.7.14,: http://dev.mysql.com/downloads/mysql/

2. decompress the downloaded file to the specified directory, the small editor will decompress the file in C: \ Users \ Administrator \ Desktop \ mysql-v5.7.14

Ii. illustrated Installation Process

1. Enter the installation page

2. Select "I accept ......", Next step

3. Select a type

4. Installation in progress

5. Installation successful

Iii. Installation Process

1. First configure the environment variable path and configure C: \ software \ Mysql \ mysql-5.7.14-winx64 \ bin to your own path.

2. Copy the my-default.ini in the extract path and change the name to my. ini, as shown in.

3. open the file my. ini and add the following content:

[mysqld]basedir=C:\\software\Mysql\mysql-5.7.14-winx64datadir=C:\\software\Mysql\mysql-5.7.14-winx64\dataport=3306

Basedir: the mysql decompression path.
Datadir:Subsequent initialization and other data will be saved in this directory, and a new data folder will be created under this directory.
Port:Indicates the port number to connect to the database.

Iv. initialize database configuration information
1. run windows command line as an administrator
2. Enter the mysql decompression directory:

Reminder: Enter the bin directory. Otherwise, an error will occur in subsequent operations.

3. Execute initialization. The initial root password is generated, as shown in:

Remember the generated initialization password.

4. Quasi-pass Mysql services. Run the command: mysqld -- install MySQL

The mysql service is successfully installed.

The above is how to install and configure mysql 5.7.14, and I hope it will help you learn it.

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.