Mysqlworkbench encountered fetchingbackviewdefinitionsinf when creating a table

Source: Internet
Author: User
When mysqlworkbench creates a table, fetchingbackviewdefinitionsinfinalformfetchingbackviewdefinitionsinfinalform. nothingtofetch uses the MySQL workbench for modeling. When synchronizing the database, the above error is found by Google. If there is a problem with the foreign key indexes

When creating a table in mysql workbench, the following error occurs: fetching back view definitions in final form. nothing to fetch is modeled using MySQL workbench. When synchronizing data to the database, the above error occurs. Check Google. If there is a problem with the foreign key index

When creating a table in mysql workbench, the following error occurs: fetching back view definitions in final form.
Fetching back view definitions in final form
. Nothing to fetch
This error occurs when you use MySQL workbench for modeling and then synchronize the database.

Check Google, there are foreign key index problems, there are other possibilities, but there is not much detail when using workbench to execute the script
Later, I executed the generated SQL statement with the following error:

Can't create table 'xxxx' (errno 121)

Then search

When creating a table, use the constraint statement.
CONSTRAINT
When creating constraints for a table, the names of all constraints cannot be the same

The workbench is still faulty.
You cannot select a table with no name (maybe a bug). If you select a table with a name, you can delete the table with a foreign key.
Mysql will automatically give him a name that will not be repeated.


But the problem is that when using CONSTRAINT, the names cannot be repeated.

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.