Installation of MySQL under Windows Wamp Environment 2 configuration

Source: Internet
Author: User

Installing the configuration MySQL 5.7

Open MySQL Website:

https://www.mysql.com/

Click Downloads, and then select commuity Select MySQL Community server to select the corresponding system version of the installation package. Here choose mysql5.7 Win 64 bit,

After download, unzip, and in the C-disk Wamp directory, create a new mysql5.7 folder, the extracted MySQL into

Then add MySQL to the system environment variable,

Right-click Computers, properties, advanced system settings, environment variables, system variables, click Path, edit, add English semicolon, add the run file paths for MySQL: c:/wamp/mysql5.7 /bin

copy c:/wamp/mysql5.7 under My-default.ini file, rename to My.ini This is the MySQL configuration file, modify the file's Basedir and data archive directory DataDir

Add under Mysqld

Explicit_defaults_for_timestamp=true

Open cmd command line, right click Admin Run, Initialize data directory

Mysqld--initialize-insecure-user=mysql

Install MySQL for Windows services

Mysqld--install

Start MySQL

net start MySQL  

Try to connect to MySQL

Ok, change the root password of MySQL,

Update user Set authentication_string = PASSWORD (' 1234 '); Flush privileges Exit exit

Re-login at this time requires MySQL password 1234, before you can enter

Ps:mysql installation can also be referenced. MySQL official Documentation manual PDF version: Http://downloads.mysql.com/docs/refman-5.7-en.a4.pdf with installation instructions.

Database Code reference: http://www.cnblogs.com/yangxunwu1992/p/5584314.html

Installation of MySQL under Windows Wamp Environment 2 configuration

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.