MySQL Installation tutorial

Source: Internet
Author: User

1. Double-click Mysql-5.5.28-win32.exe (or mysql-5.5.28-winx64) and click Next to accept the license.
2. Click Custom

3. Modify the installation path to D-Drive



4. Click Next to install
5. The following window pops up during installation, click Next

6. When the installation is complete, check the run MySQL instance Configuration tool

7. Click Next in the Popup Instance Configuration Wizard

8. Select detailed configuration and click Next

9. Select Develop machine and click Next

10. Select Multifunctional Database and click Next

11. Click Next Directly

12. Select Decision Support and click Next

13. Click Next after configuring

14. Encoding Selection UTF8

15. Configure the service and environment variables, click Next

16. Enter the new password, the new password is root (can be changed to another password), click Next

17. Click Execute

18. Configuration successful, click Finish

19. Press Win+r to open the run, enter Services.msc, return
20. Find MySQL on the right, click on the right button and select Stop service.
21. Open D:\Program files\mysql\mysql Server 5.5\my.ini with notepad++, and find 77 rows

22. Open this address.
23. Cut all files under this folder

24. Open D:\Program files\mysql\mysql Server 5.5\data, paste into this folder, and replace All
25. Change 77 lines in My.ini to D:/program files/mysql/mysql Server 5.5/data/

26. Press Win+r to open the run, enter Services.msc, return
27. Find MySQL on the right, right click and select Start Service.
28. Press Win+r to open the run, input cmd, enter
29. Enter Mysql–u root–p return, enter the password: root return

30. Enter select version (); Enter (note that the semicolon is not missing) and the version number appears to prove that the MySQL installation was successful

31. If you re-install the system, press Win+r to open the run, enter CMD
32. Enter D: Carriage return
33. Enter CD program Files\mysql\mysql Server 5.5\bin carriage return
34. Enter Mysqld–-install MySQL return

35. Press Win+r to open the run, enter Services.msc, return
36. Find MySQL on the right, right click and select Start Service.
37. Right click on MySQL, select Properties, set its startup type to Automatic

MySQL Installation tutorial

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.