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.

Reply
 
Thread Tools Display Modes
  #1  
Old 12-13-2002, 11:35 AM
Pneu
Sarnak
 
Join Date: May 2002
Posts: 65
Default Making an empty DB

I've been trying for a few days to make an empty .sql

After despairing at various sql GUI's and importing/exporing tables endlessly - and even trying a manual delete in EqAdmin (holding enter down for a VERY long time) - I have to accept that I have failed.

Can anyone more proficient with .sql export me the table structure without any data so I can source it in please? (I gather this is what db.sql is for, but this crashes out in EqAdmin with an incomplete structure)

Pneu
__________________
Girls CAN play computer games, they just think of the screen as a mans head...
Reply With Quote
  #2  
Old 12-13-2002, 11:59 AM
Trumpcard
Demi-God
 
Join Date: Jan 2002
Location: Charlotte, NC
Posts: 2,614
Default

mysqldump -d <databasename> > emptydb.sql


If eq is your database..

mysqldump -d eq > somefile.sql

-d tells it not to dump data, so you'll just end up with the table structs..
__________________
Quitters never win, and winners never quit, but those who never win and never quit are idiots.
Reply With Quote
  #3  
Old 12-14-2002, 12:18 PM
Pneu
Sarnak
 
Join Date: May 2002
Posts: 65
Default

Thanks Trumpcard! :P

Sadly, EqAdmin crashes when trying to read my empty structure so there must be something wrong with my database :(

I'm on another project for a few days now and christmas is looming, perhaps i'll sort this out on the christmas break.

Pneu
__________________
Girls CAN play computer games, they just think of the screen as a mans head...
Reply With Quote
Reply


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 12:11 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