Nuke_Authors table deleted cant make another one

  Post new topicReply to topicPrintable Version
<< View previous topic View next topic >>
Share: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
#1   Nuke_Authors table deleted cant make another one
tyler811
CZ Newbie
tyler811 has been a member for over 12 year's 12 Year Member
Status: Offline
Joined: Feb 11, 2006
0.01 posts per day
Posts: 28
Points: 126
   
I again forgot my password so I deleted the nuke_author table to create a new admin.

Now I get the new create new admin but it will not mahe the table in the database so I keep getting the create new admin screen.

Can I fix this Thanks



Back to top Reply with quote
#2   
Telli
Site Admin
Telli has been a member for over 15 year's 15 Year Member
Occupation: Self Employed
Age: 40
Fav. Sports Team: Detroit Red Wings
Website: www.codezhost.com
Status: Offline
Joined: May 26, 2003
1.48 posts per day
Posts: 8090
Points: 494,325
   
Grab a copy of the nuke version you installed and open the sql file enclosed for installing. Copy the part that creates the nuke_authors table and run that as a query. You never delete the table if you forget your password just delete the admin from the table (make sure you make a new admin quickly after that).




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#3   
tyler811
CZ Newbie
tyler811 has been a member for over 12 year's 12 Year Member
Status: Offline
Joined: Feb 11, 2006
0.01 posts per day
Posts: 28
Points: 126
   


Originally posted by Telli @ Tue Sep 11, 2007 8:25 am:

Grab a copy of the nuke version you installed and open the sql file enclosed for installing. Copy the part that creates the nuke_authors table and run that as a query. You never delete the table if you forget your password just delete the admin from the table (make sure you make a new admin quickly after that).


Thanks Telli tried that but I get this

SQL query:

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 )

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 '' at line 11



Back to top Reply with quote
#4   
Telli
Site Admin
Telli has been a member for over 15 year's 15 Year Member
Occupation: Self Employed
Age: 40
Fav. Sports Team: Detroit Red Wings
Website: www.codezhost.com
Status: Offline
Joined: May 26, 2003
1.48 posts per day
Posts: 8090
Points: 494,325
   
Try this:


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;




_________________
The path of the righteous man is beset on all sides by the inequities of the selfish and the tyranny of evil men. Blessed is he, who in the name of charity and good will, shepherds the weak through the valley of darkness, for he is truly his brother's keeper and the finder of lost children. And I will strike down upon thee with great vengeance and furious anger those who would attempt to poison and destroy my brothers. And you will know my name is the Lord when I lay my vengeance upon thee. Ezekiel 25:17
Back to top Reply with quote
#5   
tyler811
CZ Newbie
tyler811 has been a member for over 12 year's 12 Year Member
Status: Offline
Joined: Feb 11, 2006
0.01 posts per day
Posts: 28
Points: 126
   
Thank you Telli That worked great.

BTW Oct 3 will soon be here icon_biggrin.gif



Back to top Reply with quote
Display posts from previous:      
Add To: Del.icio.us  Digg  Google  Spurl  Blink  Furl  Y! MyWeb  
<< View previous topic View next topic >>
Post new topicReply to topic

Jump to 
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 cannot attach files in this forum
You cannot download files in this forum