Error Nr. 1045 is reported during the last step of mysql installation.

Source: Internet
Author: User

Error Nr is reported at the last step of mysql installation. 1045 solve the problem that the first time mysql database was installed on my computer, it always cracked the crude Nr. 1045 1. go to control panel-> Administrative Tools-> services, open MySQL Services 2. enter the command window, and then enter the MySQL installation directory, for example, enter the c: \ Program Files \ MySQL Server 5.1 \ bin c disk to enter the directory command writing cd c: \ enter the file Writing Method cd folder name 3. skip permission check to start MySQL c: \ Program Files \ MySQL/My SQL Server 5.1 \ bin> mysqld -- skip-grant-tables 4. open a new command window, go to the c: \ Program Files \ MySQL \ My SQL Server 5.1 \ bin directory, and set the new root password c: \ mysql \ bin> mysqladmin-u root flush-privileges password "newpassword" replace newpassword with your root password.-u is the user username 5. then you can use the new password to link to Mysql.

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.