Resolution on installing the MySQL times error "Stop after the MySQL service on the local computer starts and some services will stop automatically when not in use by another service or program"

Source: Internet
Author: User

First install or unzip your downloaded MySQL (corresponding to the installation version and the press release), http://dev.mysql.com/downloads/mysql/

Then copy the My-default.ini in your installation directory and change the name to My.ini

Then open cmd, input statement mysqld--initialize--user=mysql--console, (see Generate Data file, is the system created by default), at this time also generate a temporary password (decompression version default is empty), Remember, it's going to work.

Then continue using the command line to start your MySQL service in the bin directory of your installation directory--:net start MySQL

You will see that MySQL has been started in your management--services

Now we need to change your password.

Use the command line statement that is still under the bin: Mysqladmin-u user name-p password New password

After the last modification, login: Mysql-u user name-p password

"Above is the solution, the Novice on the road, the Great God Bypass"

Resolution on installing the MySQL times error "Stop after the MySQL service on the local computer starts and some services will stop automatically when not in use by another service or program"

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.