Install MySQL by compressing package

Source: Internet
Author: User
Tags mysql version

Before I installed MySQL, I always installed it with a compressed package. If you have previously installed MySQL, you must delete the registration file to completely delete MySQL.

Download the MySQL version on the website first. Download the package version, which is the. zip version. After the download is complete, it is the following directory

There used to be a My-default.ini file. The downloaded MySQL compression package is the default configuration, such as the default character set or Latan Latin.

Just change the file name to My.ini and add the following information

Then use CMD to enter the bin directory of the MySQL installation directory (cmd must be open as an administrator)

then enter the following

Mysqld-install

This will successfully install the

Then enter net start, or open the MySQL service in Service Manager.

This time is not found to set the password, to set their own password to use the following way

Log in to MySQL first

Enter as follows, prompt password, without password, press ENTER directly. Enter the following command after entering

Use MySQL; Press ENTER

Update user set Password=password ("Own password")

where user= "root"; press Enter

Enter the flush privileges after the carriage return is complete;

It's done. At this time to install a visual interface can be completed, such as SQL Yog

Install MySQL by compressing package

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.