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

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

Reply
 
Thread Tools Display Modes
  #1  
Old 03-07-2017, 10:25 PM
Uleat's Avatar
Uleat
Developer
 
Join Date: Apr 2012
Location: North Carolina
Posts: 2,815
Default

Anything is possible with a 2-year old database.

If you load the two database together, you can use a query like this to help sort out table differences:
Code:
SELECT 'peq_test', `TABLE_NAME` FROM `information_schema`.`TABLES` a WHERE a.`TABLE_SCHEMA` = 'peq_test' AND a.`TABLE_NAME` NOT IN
(SELECT `TABLE_NAME` FROM `information_schema`.`TABLES` WHERE `TABLE_SCHEMA` = 'peq') UNION
SELECT 'peq', `TABLE_NAME` FROM `information_schema`.`TABLES` b WHERE b.`TABLE_SCHEMA` = 'peq' AND b.`TABLE_NAME` NOT IN
(SELECT `TABLE_NAME` FROM `information_schema`.`TABLES` WHERE `TABLE_SCHEMA` = 'peq_test');
They don't have to be named the same as what's in the query..just make sure you change the names in the query to whatever you use.

NOTE: They should check against each other (i.e., `peq` not in `peq_test` and vice verse..)


If you need a more in-depth query - like to check columns in each table - let me know and I'll see what I can do.


EDIT:

This appears to work ok for table/column differences..

Code:
SELECT 'peq_test', `TABLE_NAME`, `COLUMN_NAME` FROM `information_schema`.`COLUMNS` a WHERE a.`TABLE_SCHEMA` = 'peq_test' AND (a.`TABLE_NAME` NOT IN
(SELECT `TABLE_NAME` FROM `information_schema`.`TABLES` WHERE `TABLE_SCHEMA` = 'peq') OR (a.`COLUMN_NAME` NOT IN
(SELECT `COLUMN_NAME` FROM `information_schema`.`COLUMNS` WHERE `TABLE_SCHEMA` = 'peq' AND `TABLE_NAME` = a.`TABLE_NAME`))) UNION
SELECT 'peq', `TABLE_NAME`, `COLUMN_NAME` FROM `information_schema`.`COLUMNS` b WHERE b.`TABLE_SCHEMA` = 'peq' AND (b.`TABLE_NAME` NOT IN
(SELECT `TABLE_NAME` FROM `information_schema`.`TABLES` WHERE `TABLE_SCHEMA` = 'peq_test') OR (b.`COLUMN_NAME` NOT IN
(SELECT `COLUMN_NAME` FROM `information_schema`.`COLUMNS` WHERE `TABLE_SCHEMA` = 'peq_test' AND `TABLE_NAME` = b.`TABLE_NAME`)));
..but, it is VERY EXPENSIVE to use.
__________________
Uleat of Bertoxxulous

Compilin' Dirty

Last edited by Uleat; 03-07-2017 at 10:55 PM..
Reply With Quote
  #2  
Old 03-08-2017, 02:36 PM
jshows1
Sarnak
 
Join Date: Jun 2009
Location: Baton Rouge,LA
Posts: 79
Default

Thanks for the response, Uleat! We ended up just going with the default database that is downloaded with Akka's installer. It will be a ton of work, but there are quests and events, npcs, etc that we know we can improve on.

Having another issue now. So I have it setup to log in locally, and have my friends log in directly through my IP. However, they can ONLY log in directly through my IP if I have a dual login setup. So if I have the eqemulator login info in the eqemulator config file AND my IP (which we know he has listed in his eqhost).

If I have ONLY my IP, he gets to the character screen and it hangs. Is there any reason this might be happening? He doesn't even have the login.eqemulator.net info in his eqhost. So he isn't even using their login host to connect. It's very bizarre!
Reply With Quote
Reply

Thread Tools
Display Modes

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 10:14 PM.


 

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 - 2026, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3