Mysql installation-free version _ MySQL

Source: Internet
Author: User
Mysql installation-free applications, first net stop mysql service, and switch to the task manager, there are mysql-related, it is best to close the process.

2. run the CMD command to switch to the MySql installation bin directory.

Cd/d D:/Program Files/MySQL Server 5.6/bin

Then execute mysqld -- skip-grant-tables (note that there is no semicolon ;)

The following message is displayed. do not close this command line window and open a new command line window.

3. run CMD and run mysql-u root-p to prompt you to enter the password and press enter.

Enter database

4. execute the command: update mysql. user set password = PASSWORD ('root') where User = 'root ';

In this way, the root user password is set to root.

5. refresh execution: flush privilege;

6. execute: exit

7. disable the net stop mysql service and restart the net start mysql service.

8. run mysql-u root-p

Enter password :*******

Input: root login

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.