Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> MySQL
Author Message
Lart
Client



Joined: Feb 18, 2004
Posts: 22
Location: Israel

PostPosted: Sun Apr 16, 2006 7:45 pm Reply with quote

Pls, what is this error is saying to me, can anyone put into simple words??

Error
SQL query:

--
-- Table structure for table `nuke_authors`
--
CREATE TABLE `nuke_authors` (

`aid` varchar( 25 ) NOT NULL default '',
`name` varchar( 50 ) default NULL ,
`url` varchar( 255 ) NOT NULL default '',
`email` varchar( 255 ) NOT NULL default '',
`pwd` varchar( 40 ) default NULL ,
`counter` int( 11 ) NOT NULL default '0',
`radminsuper` tinyint( 1 ) NOT NULL default '1',
`admlanguage` varchar( 30 ) NOT NULL default '',
PRIMARY KEY ( `aid` ) ,
KEY `aid` ( `aid` )
) ENGINE = MYISAM DEFAULT CHARSET = latin1;



MySQL said:

#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 'ENGINE=MyISAM DEFAULT CHARSET=latin1' at line 12



TIA
Lart

_________________
"To reach the savior, all you have to do is to believe." 
View user's profile Send private message
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Sun Apr 16, 2006 8:00 pm Reply with quote

Try
Code:
-- 

-- Table structure for table `nuke_authors`
--
CREATE TABLE `nuke_authors` (

`aid` varchar( 25 ) NOT NULL default '',
`name` varchar( 50 ) default NULL ,
`url` varchar( 255 ) NOT NULL default '',
`email` varchar( 255 ) NOT NULL default '',
`pwd` varchar( 40 ) default NULL ,
`counter` int( 11 ) NOT NULL default '0',
`radminsuper` tinyint( 1 ) NOT NULL default '1',
`admlanguage` varchar( 30 ) NOT NULL default '',
PRIMARY KEY ( `aid` ) ,
KEY `aid` ( `aid` )
) TYPE = MYISAM;
 
View user's profile Send private message Send e-mail
Display posts from previous:       
Post new topic   Reply to topic    Ravens PHP Scripts And Web Hosting Forum Index -> MySQL

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©