Salve, stavo mettendo IIS nel mio retro, arrivo ad inserire il db con navicat, solo che per qualche strano motivo, l'importazione non va a buon fine, uscendo questo errore [Err] 1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'USING BTREE,
KEY `userid` (`user_id`) USING BTREE,
KEY `roomid` (`room_id`' at line 13
[Err] CREATE TABLE `items` (
`id` int(10) unsigned NOT NULL,
`user_id` int(10) NOT NULL,
`room_id` int(10) unsigned NOT NULL DEFAULT '0',
`base_item` int(10) unsigned NOT NULL,
`extra_data` text NOT NULL,
`x` int(11) NOT NULL DEFAULT '0',
`y` int(11) NOT NULL DEFAULT '0',
`z` double NOT NULL DEFAULT '0',
`rot` int(11) NOT NULL DEFAULT '0',
`wall_pos` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`) USING BTREE,
KEY `userid` (`user_id`) USING BTREE,
KEY `roomid` (`room_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
[Msg] Finished - Unsuccessfully
--------------------------------------------------
La cosa strana è che mi è successo solo ora usando IIS, ho sempre usato navicat anche con xampp ma non mi ha mai dato errori di questo genere. Help me :cry:
KEY `userid` (`user_id`) USING BTREE,
KEY `roomid` (`room_id`' at line 13
[Err] CREATE TABLE `items` (
`id` int(10) unsigned NOT NULL,
`user_id` int(10) NOT NULL,
`room_id` int(10) unsigned NOT NULL DEFAULT '0',
`base_item` int(10) unsigned NOT NULL,
`extra_data` text NOT NULL,
`x` int(11) NOT NULL DEFAULT '0',
`y` int(11) NOT NULL DEFAULT '0',
`z` double NOT NULL DEFAULT '0',
`rot` int(11) NOT NULL DEFAULT '0',
`wall_pos` varchar(100) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `id` (`id`) USING BTREE,
KEY `userid` (`user_id`) USING BTREE,
KEY `roomid` (`room_id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
[Msg] Finished - Unsuccessfully
--------------------------------------------------
La cosa strana è che mi è successo solo ora usando IIS, ho sempre usato navicat anche con xampp ma non mi ha mai dato errori di questo genere. Help me :cry: