我正在将MySql数据库导入phpmyadmin
并且它给了我这个错误:
1075 - 表定义不正确;只能有一个自动列,必须将其定义为键
SQL查询:
CREATE TABLE `global_config` (
`id` int(10) primary key NOT NULL AUTO_INCREMENT,
`title` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`sitename` varchar(1024) COLLATE utf8_unicode_ci NOT NULL,
`siteurl` varchar(1024) COLLATE utf8_unicode_ci NOT NULL,
`admin_email` varchar(1024) COLLATE utf8_unicode_ci DEFAULT '',
`mail_from` varchar(1024) COLLATE utf8_unicode_ci DEFAULT '',
`smtp_from` varchar(1024) COLLATE utf8_unicode_ci DEFAULT '',
`smtp_pass` varchar(1024) COLLATE utf8_unicode_ci DEFAULT '',
`app_enabled` int(10) unsigned NOT NULL AUTO_INCREMENT,
`paypal_id` varchar(255) COLLATE utf8_unicode_ci NOT NULL,
`paypal_sandbox` varchar(1024) COLLATE utf8_unicode_ci NOT NULL,
`meta_description` varchar(1024) COLLATE utf8_unicode_ci NOT NULL,
`meta_keywords` varchar(1024) COLLATE utf8_unicode_ci DEFAULT '',
`fb_profile_upload` int(10) unsigned NOT NULL AUTO_INCREMENT,
`fb_page_upload` int(10) unsigned NOT NULL AUTO_INCREMENT,
`twitter_upload` int(10) unsigned NOT NULL AUTO_INCREMENT,
`instagram_upload` int(10) unsigned NOT NULL AUTO_INCREMENT,
`pinterest_upload` int(10) unsigned NOT NULL AUTO_INCREMENT,
`youtube_upload` int(10) unsigned NOT NULL AUTO_INCREMENT,
`global_message` varchar(1024) COLLATE utf8_unicode_ci DEFAULT '',
`referer_prize` varchar(1024) COLLATE utf8_unicode_ci DEFAULT '',
`fb_verified_likes` int(10) unsigned NOT NULL AUTO_INCREMENT,
`tw_verified_followers` int(10) unsigned NOT NULL AUTO_INCREMENT,
`in_verified_followers` int(10) unsigned NOT NULL AUTO_INCREMENT,
`pin_verified_followers` int(10) unsigned NOT NULL AUTO_INCREMENT,
`yt_verified_subscribers` int(10) unsigned NOT NULL AUTO_INCREMENT,
`yt_verified_views` int(10) unsigned NOT NULL AUTO_INCREMENT,
`min_payout_amount` int(10) unsigned NOT NULL AUTO_INCREMENT,
`per_ads_payout` int(10) unsigned NOT NULL AUTO_INCREMENT,
`credit_system` int(10) unsigned NOT NULL AUTO_INCREMENT,
`enable_cash_payout` int(10) unsigned NOT NULL AUTO_INCREMENT
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;