Install MySQL 5 instances manually in Windows

Source: Internet
Author: User

1. Download the free installation package from the official MySQL websiteProgram.


2. decompress the package and copy the directory to the actual running directory. For example, D: \ Program Files \ mysql \ mysql3307.

3. Copy the my-large.ini to the same directory
My. ini.

4. Open My. ini
File Modification port (required) and other configurations (not required ).

5. Registration Service: D: \ Program
Files \ mysql \ mysql3307 \ bin \ mysqld.exe -- install mysql53307. (Mysql53307 indicates the service name)


6. Open the registry and locate
[HKEY_LOCAL_MACHINE \ SYSTEM \ CurrentControlSet \ Services \ mysql53307] node, modify
ImagePath value: "D: \ Program Files \ mysql \ mysql3307 \ bin \ mysqld-nt"
-- Defaults-file = "D: \ Program Files \ mysql \ mysql3307 \ My. ini"
Mysql53307. (This can also be defined directly when registering a service, but I did not try it .)

7. Start the service: Net start
Mysql53307.

8. Use the command line to enter the database instance: D: \ Program
Files \ mysql \ mysql3307 \ bin \ mysql.exe-u root.

9. Change the password: Set password
Root @ localhost = PASSWORD ('newpwd ');.

10. Restart the service :.
 

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.