Windows7 under Installation MySQL-5.6.34

Source: Internet
Author: User
Tags dedicated server

Download the installation package "Mysql-5.6.34-winx64.zip", put it in a folder, unzip the installation package, rename the folder named "mysql-5.6.34" to modify the "My-default.ini" profile: The following:
[Mysqld]#Remove Leading # and set to the amount of RAM for the most important data#Cache in MySQL. Start at 70% of all RAM for dedicated server, else 10%.#innodb_buffer_pool_size = 128M#Remove Leading # to turn on a very important data integrity Option:logging#changes to the binary log between backups.#Log_bin#These is commonly set, remove the # and set as required.Basedir = D:\MySQL\mysql-5.6.34DataDir= D:\MySQL\mysql-5.6.34\data#port = ... ..#server_id = ... ..
Set environment variables: Right-click the computer –> Properties –> advanced system settings –> environment variables –> System variables, locate path, append;D at the end: \mysql\mysql-5.6.34\bin (Note that the path is preceded by ";"), click OK to finish. Initialize database: Run cmd as Administrator: Enter C:\Windows\System32, locate Cmd.exe, right-click Run as Administrator, enter bin directory: cmd input mysqld--install
D:\mysql\mysql-5.6.34\bin>mysqld--installservice successfully installed.
Start MySQL:
D:\mysql\mysql-5.6.34\bin>net Start MySQL

Windows7 under Installation MySQL-5.6.34

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.