MySQL Install (start programmatically) Zip version

Source: Internet
Author: User
Tags win32

Computer environment

WIN10 64-bit Enterprise Edition

1. Unzip the zip file to a certain path.

2. My-default.ini renamed under Copy directory (My.ini)

3. Open My.ini

[MYSQLD] Add the following
Character-set-server=utf8

Other changes to the configuration as needed ...

4. Installation

The command is as follows

Open the Bin directory, press SHIFT, right mouse button

Input command

Mysqld--defaults-file=my.ini where the absolute path is copied here \my.ini--initialize--console

Wait, do not close the window.

Find this line.

Root of the initial random password, one will change the password to use.

5. After initialization is complete, start MySQL

Mysqld--console

After successful startup, minimize the window, and then open a.

7. Log in to MySQL

Mysql-u root-p

Just paste the random password and log in successfully.

8. Change the password

' Root '@'localhost' = PASSWORD (' new password ');

9. Test with Navicat

Start Mysql.bat

Suggestions:

Start mysql-5.7. -win32/bin/mysqld.exe--console

Or the way the next program starts.

Start mysql-5.7. -win32/bin/mysqld.exe--standalone

Note : Please refer to the folder structure.

Write down this installation process to make it easy for you to install MySQL database software with other students who are learning MySQL, or to put a U-disk in the school computer experiment.

MySQL Install (start programmatically) Zip version

Related Article

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.