Troubleshooting of mysqlerrornumber1051 and 1418 errors

Source: Internet
Author: User
Mysqlerrornumber1051 said a lot on the Internet (including foreign networks), but no one knows why. This is caused by different storeengine

Mysql error number 1051 says a lot on the Internet (including foreign networks), but no one knows why. This is caused by different store engines.

Mysql error number 1051 says a lot on the Internet (including foreign networks), but no one knows why. This is caused by different store engines.

For example, if the first engine = myisam and table A are created on this basis, you need to convert it to innodb now (enable my. the innodb parameter in cnf) if you select table A again, it will report non-existent data. If you drop the data, mysql error number 1051 will be reported. how can this problem be solved? Haha, turn off my first. the innodb parameter of cnf, and then restart mysql, so that A can select, back up table A, drop Table A, enable the innodb parameter, and restart mysql, restore the backup script.

If there is a 1418 error in the create function:

Set global log_bin_trust_routine_creators = 1;

Then there will be no problem with how to create a function (of course, your function must be correct). Damn it, this is a mysql bug. If you don't understand why, it will be okay to do so anyway.

There is no such error in Oracle. If such an error occurs, it is because of insufficient user permissions. OpenSource is like this. It is better for Oracle.

,
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.