Install Multiple mysql databases under win7

Source: Internet
Author: User

Install Multiple mysql databases under win7
(1) install mysql in the corresponding directory. The default port for installing mysql is 3306.
(2) Copy all MYSQL_PATH files to the mysql directory you want to install, tentatively set to MYSQL3307,
(3) modify the mysql configuration file my. ini under MYSQL3307 and modify the corresponding parameters.
(4) Installation Service
Enter the following content in the cmd command (if you have permissions in win7, find cmd.exe as an administrator. Otherwise, an error will occur)
Cd MYSQL3307 \ bin
Mysqld -- install mysql3307 (you can also use another name)
(5) modify the executable path of the newly added Service
Run regedit to open the windows Registry Editor and find
HKEY_LOCAL_MACHINE \ SYSTEM \ CURRENTCONTROLSET \ SERVICES \ corresponding service
Change the corresponding ImagePath to "MYSQL3307 \ bin \ mysqld" -- defaults-file = "MYSQL3307 \ my. ini" MySQL3307
(6) start mysql3307 run cmd input net start mysql3307

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.