New version of MySQL Server 5.7 free install version settings

Source: Internet
Author: User

Reconfiguration of the computer today, the installation of Java development related environment, in the process of installing MySQL, encountered some problems.

Because downloading a free-install version of MySQL 5.7 on the website, you only need to unzip the zip archive during the installation process.

After that, you need to modify the data modifications of the Basedir and datadir two items in the My-default.ini file under the decompression root.

This is going to be the relevant data to be modified, the middle directory address according to their own MySQL file storage address to modify.

After entering the MySQL bin directory in cmd, type the command mysqld-install

After starting the MySQL service: net start MySQL

< In this step, there is often a problem that shows that starting the MySQL server failed, but no specific exception problems

This can be based on, mysqld--initialize to initialize the work, is to re-create the data directory

>

After landing mysql:mysql-u Root-p

Because it is created for the first time, you do not need a password to log into the MySQL database.

Finally, change the password of the root login account

Set password for [email protected] = password (' 123456f ');

Learn from http://www.jb51.net/article/39454.htm

New version of MySQL Server 5.7 free install version settings

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.