Basic installation tutorial for mysql decompression package and basic mysql decompression tutorial

Source: Internet
Author: User

Basic installation tutorial for mysql decompression package and basic mysql decompression tutorial

Because the new computer is changed, the environment must be configured on the new computer. I suddenly found that the mysql configuration was forgotten, and then Baidu again.
Write an article to record it, so that you can have a long memory.

1. Download the installation package
2. Configure the my. ini file

The configuration information is as follows:

[Mysql] # set the default character set of the mysql client default-character-set = utf8 [mysqld] # set port 3306 = 3306 # set the mysql installation directory basedir = F: \ bianyi \ mysql-5.6.24-win32 # Set the mysql database data storage directory datadir = F: \ bianyi \ mysql-5.6.24-win32 \ data # maximum number of connections max_connections = 200 # the character set used by the server defaults to the 8-bit latin1 character set character-set-server = utf8 # default storage engine default-storage-engine = INNODB

 

3. Install the service

Open the cmd window as an administrator, switch the directory to the bin directory of the decompressed file, and enter export/SouthEast)

4. Start Service login verification

Continue input: net start mysql. After the service is started, enter mysql-uroot-p.

5. Change Password

Continue input: set password for root @ localhost = password ('20140901 ');

During this process, the installation of the service fails because it is not run as an administrator:

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.