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 02-10-2013, 01:14 PM
rlie_0
Sarnak
 
Join Date: May 2011
Location: usa
Posts: 94
Default Unstall Mysql would it help?

If I unstall mysql, and delete any connnecting files, Im thinking it would clear out any mistakes I may have made last week and allow me to start fresh. Any thoughts on if thats really the case?
Reply With Quote
  #2  
Old 02-10-2013, 02:31 PM
rencro
Hill Giant
 
Join Date: Sep 2008
Location: So. California
Posts: 219
Default

You dont need to uninstall. Just delete the peq database from Navicat, then right click your connection and select create new database, name it peq and CLOSE navicat...

then with a command prompt cd into the peqdatabase and:
mysql -uroot -ppassword
use peq;
source peqdb_rev2294.sql;
wait
source load_player.sql;
wait
source load_bots.sql; (IF USING BOTS)
exit

Open a new Navicat session and open the peq database by double clicking it, all your tables should show up in the main window. right click the peq database and select "Execute sql File" then browse to your emulator source /utils/sql/svn dir and select

2299_required_inspectmessage_fields.sql

click open, you may get an error on this one depending on if you sourced load_bots or not, dont worry about it if you dont need bots.(this needs to be addressed as it is required but bots are not required so may cause confusion) Then proceed to source in the rest of the "required" sqls in the svn directory greater than 2300 (2340, 2361 ..ect ect) At this point you are done with the database, start up your servers and good luck..

If you need to start over again you could also clear the db via the drop_xxx.sql's.

Note: some people claim that navicat does a poor job of importing, myself I do all my importing from within mysql but to each their own.
I create a "New Folder" in svn and copy all the required updates to that folder, ie 2399, 2340 ect ect. then I run this bat file in that directory:
Code:
@echo off
setlocal
set files=*.sql
set output=merged.sql
echo. > %output%
for %%A in (%files%) DO call :MERGE %%A %output%
goto end

:MERGE
if '%1'=='%output%' goto EOF
echo -- %1 >> %2
type %1 >> %2
echo. >> %2
goto EOF
:END
:EOF
This will create a "merged.sql" of all the files I manually copied, then I log into mysql via mysql -uroot -ppassword
use peq
source merged.sql;
exit

Done..This way I do not use navicat to import the individual updates one at a time, they all get done in one call.
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 06:04 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 - 2024, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3