MySQL 5.7.17 compressed version installation notes, mysql5.7.17

Source: Internet
Author: User

MySQL 5.7.17 compressed version installation notes, mysql5.7.17

The following is an example of how to install MySQL 5.7.17 for your reference.

1. Download the compressed package and decompress it to the corresponding directory.

2. Add the bin directory Path of MySQL to the Path environment variable

3. Modify the profile my-default.ini

\ # Basedir =... \ # datadir = .....

Modify:

Basedir = G: \ Program Files \ MySQLdatadir = G: \ Program Files \ MySQL \ data

4. Run cmd as an administrator, run cd to the bin directory of MySQL, and enter mysqld -- initialize-insecure -- user = mysql to generate a root account without a password.

5. Enter mysqld-install, and the installation is successful.

6. start the service: Enter net start mysql, and the service is successfully started.

7. Log On: Enter mysql-u root-p. Enter the password and press Enter.

8. Change password: enter set password = password ('new password'); (do not forget the semicolon) to change the password.

Highlights: mysql installation tutorials for different versions mysql5.7 installation tutorials for various versions mysql5.6 installation tutorials

The above is all the content of this article. I hope it will be helpful for your learning and support for helping customers.

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.