matti450
Member
- Joined
- Apr 13, 2008
- Messages
- 507
- Reaction score
- 24
when i copy the text from localhost and want to paste it into the SQL this shows up
CREATE TABLE IF NOT EXISTS `znote_guild_wars` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`limit` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
FOREIGN KEY (`id`) REFERENCES `guild_wars` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
MySQL said:![](/proxy.php?image=http%3A%2F%2Flocalhost%2Fus_opt1%2Fthemes%2Fdot.gif&hash=75be099b3cf308dc6fe29d2dcc4cc914)
#1005 - Can't create table 'tibia.znote_guild_wars' (errno: 150) (Details…)
CREATE TABLE IF NOT EXISTS `znote_guild_wars` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`limit` int(11) NOT NULL DEFAULT '0',
PRIMARY KEY (`id`),
FOREIGN KEY (`id`) REFERENCES `guild_wars` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
MySQL said:
![](/proxy.php?image=http%3A%2F%2Flocalhost%2Fus_opt1%2Fthemes%2Fdot.gif&hash=75be099b3cf308dc6fe29d2dcc4cc914)
#1005 - Can't create table 'tibia.znote_guild_wars' (errno: 150) (Details…)