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.

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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
 


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:38 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