In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces how to solve the problem of 1075 error in navicat. It is very detailed and has a certain reference value. Interested friends must finish reading it!
AUTO_INCREMENT in MYSQL generates a unique number when a new record is inserted into the table. If you want to automatically create the value of the primary key field each time you insert a new record, you can create an auto-increment field in the table.
An example of a statement that mysql creates a self-increasing primary key table:
CREATE TABLE `tablename` (`id` int (11) NOT NULL AUTO_INCREMENT, PRIMARY KEY (`id`)) ENGINE=MyISAM DEFAULT CHARSET=utf8
If you want to set automatic increment (auto_increment) when creating a table in mysql, it must be the primary key (PRIMARY KEY) setting, not NULL, and only one can be set.
# 1075-Incorrect table definition; there can be only one auto column and it must be defined as a key.
This error means: # 1075-the table definition is incorrect; there can be only one automatic column, which must be defined as the primary key.
If this error occurs, you need to check the table statement, and if you set self-increment, you need to set the self-increment field as the primary key.
The above is all the contents of this article entitled "how to solve the problem of 1075 errors in navicat". Thank you for reading! Hope to share the content to help you, more related knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.