I've read thoroughly all the other questions/answers on this error before posting.
I am getting the above error for the following query:
CREATE TABLE IF NOT EXISTS `userdata` (
`id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(255) NOT NULL,
`email` varchar(500) NOT NULL,
`password` varchar(500) NOT NULL,
`firstname` varchar(5000) NOT NULL,
`profile` text NOT NULL,
`lastname` varchar(500) NOT NULL,
`address` varchar(5000) NOT NULL,
`bio` varchar(5000) NOT NULL,
`state` varchar(500) NOT NULL,
`city` varchar(500) NOT NULL,
`zipcode` int(11) NOT NULL,
`country` varchar(500) NOT NULL,
`mobile` varchar(5000) NOT NULL,
`status` varchar(5000) NOT NULL,
`type` varchar(5000) NOT NULL,
`adbalance` varchar(500) NOT NULL,
`pubalance` varchar(500) NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `email` (`email`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=604 ;
Does anyone have idea why and how to fix it?
This same query works perfectly on my local machine, and worked as well on my previous host. It's from a mature project - phpdevshell.
I'm using phpMyAdmin.