Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building Archive area for General Discussion's posts that were moved here after an inactivity period of 90 days.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #12  
Old 06-16-2002, 03:57 AM
bot403
Sarnak
 
Join Date: May 2002
Posts: 52
Default

a note to you DB makers out there. Try making an upgrade mysql scripts also. I find that i dont want to drop my entire database just to update some tables. Instead of it dropping the entire database and recreating all the tables...including accounts and variables... then just drop teh tables that have changes made for them and then re-create them. THats what i did, but it would be nice to see it incorporated into official releases.
i did somethign like this-
In file update.sql
drop table npc;
create table npc
create definitions here;
drop table loot;
create table loot
more table definitions;
source loot.sql;
source npc.sql;
etc. etc. and remove all the create table definitions for the tables that dont have to be re-sourced like accounts and such.
__________________
-------------------------
ServerOP- Botworld
-------------------------
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 04:56 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