MySQL version : 4.1.21-standardError Msg:
There seems to be an error in your SQL query. The MySQL server error output below, if there is any, may also help you in diagnosing the problem
ERROR: Unclosed quote @ 124
STR: '
SQL:
CREATE TABLE `xoops_users` (
`uid` mediumint(8) unsigned NOT NULL auto_increment,
`name` varchar(60) NOT NULL default '',
`uname` varchar(25) NOT NULL default '',
`email` varchar(60) NOT NULL default '',
`url` varchar(100) NOT NULL default '',
`user_avatar` varchar(30) NOT NULL default 'blank.gif',
`user_regdate` int(10) unsigned NOT NULL default '0',
`user_icq` varchar(15) NOT NULL default '',
`user_from` varchar(100) NOT NULL default '',
`user_sig` tinytext NOT NULL,
`user_viewemail` tinyint(1) unsigned NOT NULL default '0',
`actkey` varchar(8) NOT NULL default '',
`user_aim` varchar(18) NOT NULL default '',
`user_yim` varchar(25) NOT NULL default '',
`user_msnm` varchar(100) NOT NULL default '',
`pass` varchar(32) NOT NULL default '',
`posts` mediumint(8) unsigned NOT NULL default '0',
`attachsig` tinyint(1) unsigned NOT NULL default '0',
`rank` smallint(5) unsigned NOT NULL default '0',
`level` tinyint(3) unsigned NOT NULL default '1',
`theme` varchar(100) NOT NULL default '',
`timezone_offset` float(3,1) NOT NULL default '0.0',
`last_login` int(10) unsigned NOT NULL default '0',
`umode` varchar(10) NOT NULL default '',
`uorder` tinyint(1) unsigned NOT NULL default '0',
`notify_method` tinyint(1) NOT NULL default '1',
`notify_mode` tinyint(1) NOT NULL default '0',
`user_occ` varchar(100) NOT NULL default '',
`bio` tinytext NOT NULL,
`user_intrest` varchar(150) NOT NULL default '',
`user_mailok` tinyint(1) unsigned NOT NULL default '1',
PRIMARY KEY (`uid`),
KEY `uname` (`uname`),
KEY `email` (`email`),
KEY `uiduname` (`uid`,`uname`),
KEY `unamepass` (`uname`,`pass`)
) TYPE=MyISAM AUTO_INCREMENT=521 ;
--
-- Dumping data for table `xoops_users`
--
INSERT INTO `xoops_users` (`uid`, `name`, `uname`, `email`, `url`, `user_avatar`, `user_regdate`, `user_icq`, `user_from`, `user_sig`, `user_viewemail`, `actkey`, `user_aim`, `user_yim`, `user_msnm`, `pass`, `posts`, `attachsig`, `rank`, `level`, `theme`, `timezone_offset`, `last_login`, `umode`, `uorder`, `notify_method`, `notify_mode`, `user_occ`, `bio`, `user_intrest`, `user_mailok`) VALUES (1, 'Shamsul Erzwan b. Samsudin', 'erzwan', 'mesol86@gmail.com', 'http://erzwan.com/', 'cavt44f36b98996b0.jpg', 1145417064, '', '', '[url=http://www.erzwan.com/]OpenSource Supporter[/url]\r\n\r\n[img]http://img154.imageshack.us/img154/5166/userbar110235qk4.gif[/img]\r\n[img]http://img157.imageshack.us/img157/9738/userbar110260vt8.gif[/img]', 1, '', '', 'mesol86', '', '4bf2cbe733d25a9d679f2986904e8027', 338, 1, 7, 5, 'xt_plus_katisuhara', 8.0, 1184927318, 'thread', 0, 2, 0, 'Undergraduate', '', 'Computing', 1);
SQL query:
CREATE TABLE `xoops_users` ( `uid` mediumint(8) unsigned NOT NULL auto_increment, `name` varchar(60) NOT NULL default '', `uname` varchar(25) NOT NULL default '', `email` varchar(60) NOT NULL default '', `url` varchar(100) NOT NULL default '', `user_avatar` varchar(30) NOT NULL default 'blank.gif', `user_regdate` int(10) unsigned NOT NULL default '0', `user_icq` varchar(15) NOT NULL default '', `user_from` varchar(100) NOT NULL default '', `user_sig` tinytext NOT NULL, `user_viewemail` tinyint(1) unsigned NOT NULL default '0', `actkey` varchar(8) NOT NULL default '', `user_aim` varchar(18) NOT NULL default '', `user_yim` varchar(25) NOT NULL default '', `user_msnm` varchar(100) NOT NULL default '', `pass` varchar(32) NOT NULL default '', `posts` mediumint(8) unsigned NOT NULL default '0', `attachsig` tinyint(1) unsigned NOT NULL default '0', `rank` smallint(5) unsigned NOT NULL default '0', `level` tinyint(3) unsigned NOT NULL default '1', `theme` varchar(100) NOT NULL default '', `timezone_offset` float(3,1) NOT NULL default '0.0', `last_login` int(10) unsigned NOT NULL default '0', `umode` varchar(10) NOT NULL default '', `uorder` tinyint(1) unsigned NOT NULL default '0', `notify_method` tinyint(1) NOT NULL default '1', `notify_mode` tinyint(1) NOT NULL default '0', `user_occ` varchar(100) NOT NULL default '', `bio` tinytext NOT NULL, `user_intrest` varchar(150) NOT NULL default '', `user_mailok` tinyint(1) unsigned NOT NULL default '1', PRIMARY KEY (`uid`), KEY `uname` (`uname`), KEY `email` (`email`), KEY `uiduname` (`uid`,`uname`), KEY `unamepass` (`uname`,`pass`) ) TYPE=MyISAM AUTO_INCREMENT=521 ; -- -- Dumping data for table `xoops_users` -- INSERT INTO `xoops_users` (`uid`, `name`, `uname`, `email`, `url`, `user_avatar`, `user_regdate`, `user_icq`, `user_from`, `user_sig`, `user_viewemail`, `actkey`, `user_aim`, `user_yim`, `user_msnm`, `pass`, `posts`, `attachsig`, `rank`, `level`, `theme`, `timezone_offset`, `last_login`, `umode`, `uorder`, `notify_method`, `notify_mode`, `user_occ`, `bio`, `user_intrest`, `user_mailok`) VALUES (1, 'Shamsul Erzwan b. Samsudin', 'erzwan', 'mesol86@gmail.com', 'http://erzwan.com/', 'cavt44f36b98996b0.jpg', 1145417064, '', '', '[url=http://www.erzwan.com/]OpenSource Supporter[/url]\r\n\r\n[img]http://img154.imageshack.us/img154/5166/userbar110235qk4.gif[/img]\r\n[img]http://img157.imageshack.us/img157/9738/userbar110260vt8.gif[/img]', 1, '', '', 'mesol86', '', 'xxxxxxxxxxxxxxx', 338, 1, 7, 5, 'xt_plus_katisuhara', 8.0, 1184927318, 'thread', 0, 2, 0, 'Undergraduate', '', 'Computing', 1);
MySQL said: Documentation
#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 ''',
`uname` varchar(25) NOT NULL default '',
`email` varchar(60) NOT N' at line 3
Server Restore / Import