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

Archive::Windows Servers Archive area for Windows Servers's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #16  
Old 01-17-2004, 07:25 PM
samandhi's Avatar
samandhi
Demi-God
 
Join Date: Aug 2003
Posts: 1,056
Default

Quote:
Not exactly sure if theres a way to souce both DB and alternate to and from them as i just followed the guide that comes withe the 5.2 release, regarding sourceing in.

Yes, you can. All you have to do is go to cmd prompt and type

mysql -u root mysql

Press enter. Logs you in as main user with all rights. Then

CREATE DATABASE eq2;

Press enter. Creates a second db for you to use. Then

USE eq2;

Press enter. Loads the new db. Then

source <your new db.sql>;

Press enter. Loads all the tables and stuff to your new db. Optional

source <update.sql>;

Press enter. Loads the updates if you need them <for instance if you are using 0.5.3......

Now you have to edit your db.ini file. Where it says eq just change it to match whatever you named your new db. In this case eq2. You are all set with your alternative db. So you can use as many different db's as you like. If you want to go back to the first one you had, just do the same thing only leave out the create database command and source... just do the use command and change your db.ini file to reflect this..... viola'


Also, if, when you did the GRANT command you didnt grant privileges to *.*, but instead just to eq.* then you will have to use the command again but this time use eq2.*. for example you might use this:

GRANT ALL PRIVILEGES ON eq2.* TO test@localhost IDENTIFIED BY 'test' WITH GRANT OPTION;

Where the first test is your username and the second test is your password.
Reply With Quote
  #17  
Old 01-17-2004, 07:56 PM
flyonthewall
Fire Beetle
 
Join Date: Jan 2004
Posts: 21
Default

awsome, thanks for that, hehe now i need to get Myra's db and get it sourced in and run it.
__________________
"If the automobile had followed the same development cycle as the computer, a Rolls-Royce would today cost $100, get a million miles per gallon, and explode once a year, killing everyone inside." Robert X. Cringely
Reply With Quote
  #18  
Old 01-23-2004, 05:45 PM
boucoune's Avatar
boucoune
Sarnak
 
Join Date: Mar 2003
Posts: 37
Default

we love you matt
__________________
Kirzan

Member of the Leet shiz mem bitches krew

Zeeky Boogy Doog. BOOM!
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:53 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