Windowsmysqlserver reboot, Log-bin path configuration

Source: Internet
Author: User

CMD run the following command:

NET stop < service name >

NET start < service name >

Note:< service name > usually defaults to: MySQL

That

net stop MySQL

net start MySQL

Note:

How to view service names:

On the desktop-> right-click "Computer"-> choose "Management"-> choose "Service and Application"-> "service": in the service to find the name and MySQL corresponding, under normal circumstances should be the MySQL Server service name. such as Mysql56 and so on.

To turn the service off and on, normally require CMD to be "Open as Administrator"

Under Windows system, when configuring directory locations for MySQL My.ini Log-bin, assume that you want to configure Log-bin log to mysqllog files in D disk as Binlog. You can configure the following:

[Mysqld]

log-bin= "D:mysqllog/binlog" Note: The last path here takes the "/" instead of the Windows file system ""

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.