mysql5.6 Installation

Source: Internet
Author: User

  1. Unzip to the installation directory;

    Any directory of your liking

  2. Add MySQL installation path after environment variable path;

    Note that the Append

  3. Modify My-default;

    mysql-5.6 The default configuration file is in C:\Program files\mysql\mysql Server 5.6\my-default.ini, or create a My.ini file yourself,

    In which the configuration () is modified or added:

    [Mysqld]

    Basedir=c:\program files\mysql\mysql Server 5.6 (MySQL directory)

    Datadir=c:\program files\mysql\mysql Server 5.6\data (the directory where MySQL resides \data)

  4. CMD bin directory execution Mysqld-install;

    Make sure you complete the above steps before you execute

  5. Start the service (net start MySQL);
  6. Direct login (Mysql-u root-p);

    First login without password direct drawdown

  7. Modify login password;

    Enter the MySQL system database:
    mysql> use MySQL
    Reading table information for completion of table and column names
    Can turn off this feature to get a quicker startup with-a
    Database changed

    To change the root account password:
    mysql> Update user Set Password=password ("12345") where user= "root";
    Query OK, 4 rows Affected (0.02 sec)
    Rows Matched:4 Changed:4 warnings:0


    Refresh permissions:
    mysql> flush Privileges;
    Query OK, 0 rows Affected (0.00 sec)

    Mysql> exit
    Bye

  8. The whole ending.

mysql5.6 Installation

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.