Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Linux Servers

Support::Linux Servers Support forum for Linux EQEMu users.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #4  
Old 02-09-2007, 06:30 PM
narcberry
Sarnak
 
Join Date: Mar 2005
Location: Idaho, USA
Posts: 94
Default

I went ahead and added the column with default data ('0' as per the schema)

Code:
ALTER TABLE spawnentry ADD COLUMN spawn_limit tinyint(4) NOT NULL DEFAULT '0';
It took care of the error but I get a new error that seemed to be the same problem revisited:

Code:
Error3 in PopulateZoneLists query 'SELECT spawnentry.spawngroupID, npcid, chance,  spawnentry.spawn_limit AS gsl, npc_types.spawn_limit AS sl FROM spawnentry, spawn2 LEFT JOIN npc_types ON spawnentry.npcID = npc_types.id WHERE spawnentry.spawngroupID=spawn2.spawngroupID AND zone='cabeast' ORDER by chance' #1054: Unknown column 'spawnentry.npcID' in 'on clause'
So I went ahead and tried to add that column too:

Code:
ALTER TABLE spawnentry ADD COLUMN npcID int(11) NOT NULL DEFAULT '0';
ERROR 1060 (42S21): Duplicate column name 'npcID'
I dont understand why it reports an unknown column when it exists... or why there are multiple database errors with a fresh install.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 07:49 AM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3