MySQL master never supports storage engine

Source: Internet
Author: User
Tags mysql create

Recently encountered a problem in MySQL master server executed a storage engine, resulting in master-slave synchronization failure. It turns out that MySQL does not support the use of the storage engine from the master. To support this, you need to modify the MySQL configuration as follows:

“”

MySQL master-slave on function process synchronization problem

Found MySQL master and slave The same step is always wrong for the function process

MySQL Create function problem analysis:

Depending on the system prompts, the cause of this error may be a configuration of security settings, the manual log_bin_trust_function_creators parameter default 0, is not allowed to synchronize the function.
In general, when we configure the repliaction, we forget to focus on this parameter, so after the master update funtion, slave will report an error, and then slave stoped.
MySQL Create function problem handling process:
Log in to MySQL database
> Set global log_bin_trust_function_creators = 1;
> Start slave;
Track MySQL startup log, slave normal operation, problem solving.
Continuous tracking, after one night, the Bin-relay-log data are all synchronized. Add it directly inside the MY.CNF
Log_bin_trust_function_creators = 1

“”

The first time you encounter this problem, you should pay more attention to it later.


This article is from "Constant line Mowgli's blog" blog, please be sure to keep this source http://liheng2011.blog.51cto.com/3091246/1639379

MySQL master never supports storage engine

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.