Windows install MySQL decompression version

Source: Internet
Author: User

1: Unzip

2: Setting Environment variables

3: Modify My.ini

= D:\MySQL\Server\mysql-5.6. -=3306

4: Install MySQL service

Executed in the bin directory,

D:\MySQL\Server\mysql-5.6. -win32\bin>mysqld-installservice successfully installed.

5: Start the MySQL service

6: View error log

Fatal Error:can ' t open and Lock Privilege tables:table ' mysql.user ' doesn ' t exist

7: Modify the DataDir directory in My.ini

Basedir = D:\MySQL\Server\mysql-5.6. -= D:\MySQL\Server\mysql-5.6. -3306

8: Restart the service

9: Login to MySQL

Initial installation directly hit MySQL can go in, default use empty user login

If the empty user is deleted, go to the [client] in My.ini to find

Example: Adding a user to the client, restarting the service

==

The ultimate landing user is [email protected]

If there is no configuration in [client]

The ultimate landing user is [email protected]

Windows install MySQL decompression version

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.