MySQL database operations in Windows 7

Source: Internet
Author: User

The operation method described in this article is only usedNonMsi InstallationProgramWhen the installed MySQL program or MySQL program is copied from another PC to the local machine;

Download or copy the latest MySQL program file to the local machine;

1. Start the service

"[MySQL installation path] \ mysql server 5.5 \ bin \ mysqld" -- defaults-file = "[MySQL installation path] \ mysql server 5.5 \ My. ini"

Note: The my. ini file in the command is generated by the mysqlinstanceconfig.exe program in the MySQL \ bindirectory.

IfMysqlinstanceconfig.exe prompts that the my-template.cnf file cannot be found.

My-template.ini file Renamed

My-template.cnf and then copy to '\[MySQL installation path] \ mysql server 5.5 \ bin "Directory

2. Stop the service

[MySQL installation path] \ mysql server 5.5 \ bin \ mysqladmin-u root Shutdown

3. Remove MySQL Windows Services

[MySQL installation path] \ mysql server 5.5 \ bin \ mysqld-Remove

Note: This Command needs to be executed at the command prompt under the Administrator permission (Start> attachment> email SELECT command prompt> Run as administrator)

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.