Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Support > Archive::Tutorials/Howto's

Archive::Tutorials/Howto's Archive area for Tutorials/Howto's posts that were moved here after an inactivity period of 90 days.

Reply
 
Thread Tools Display Modes
  #1  
Old 03-27-2004, 06:05 PM
xtestx
Sarnak
 
Join Date: Mar 2004
Posts: 50
Default HOWTO: Give someone else access to your db to edit

Ever wanted a friend or another GM who works on your server to edit your server straight from the db? Maybe something was too complicating to explain to you and would be easier for them to just do it?

Well Jezebel and myself tested it just to see if it would work.
I gave her my information and she tried to connect, and it worked!

We tested this with mysql-front, it'd probaly work with any item editor or any other program to access your db. We just havn't tested it yet.

*Only do this if you trust the person you are giving access to your db*

Disable Firewall before going through these steps


Here are the steps:

1. If you followed Jezebel's steps while setting up your server you probaly already have MySQL.bat somewhere. If not, open up notepad and type:

Code:
cd\mysql\bin
mysql -u root mysql
Save it and for "Save as type" put "All Files" then name it:

MySQL.bat

2. Open MySQL.bat and type:

Code:
grant all privileges to *.* on username@ip identified by password with grant option;
for "username" put your mysql username
for password put your mysql password
for ip right after the "username@" put their external ip

Hit enter, you should get something like:

Query OK, <0.00 seconds> or something like that looks like it means you did it correctly :p

Once you're finished with that type quit

3. Give that person your external IP, mysql username, mysql password, and your db name.

4. They will open up their program and when connecting to whatever program they are using they will use that information to connect.
If it asks for the EverQuest Directory just tell them to put down where their EverQuest Directory is located. They do not need anymore information.

The EverQuest Directory is usually if you don't know... or around there

C:\Program Files\EverQuest
C:\Program Files\Sony\EverQuest
C:\Program Files\Sony\EverQuest Trilogy

If you followed each step it should work and they will be able to connect to your db and edit from their computer.

P.S. granting another person all privileges to your db will not take away any of your privileges.
Reply With Quote
  #2  
Old 04-05-2004, 08:08 AM
Dave987
Discordant
 
Join Date: Jun 2003
Location: England
Posts: 267
Default Re: HOWTO: Give someone else access to your db to edit

Quote:
Originally Posted by xtestx
Code:
grant all privileges to *.* on username@ip identified by password with grant option;
Should be

Code:
grant all privileges on *.* to username@ip identified by password with grant option;
__________________
;o)
Reply With Quote
  #3  
Old 06-01-2004, 04:46 PM
Tangeleno
Sarnak
 
Join Date: Mar 2004
Posts: 61
Default

I was wondering, is there anyway to do a wildcard or multiple IP addresses or even a range of IP addresses? Person I want to grant access to is on a dynamic IP and well I'd rather not keep changing it all the time.


**EDIT**
Figured out the wildcard sorry for bothering you all.
Reply With Quote
  #4  
Old 06-02-2004, 03:26 AM
cofruben
Old-EQEmu Developer
 
Join Date: Oct 2002
Location: Spain
Posts: 323
Default

not sure but I think,that if the password is a word,you must put it in ' '.for example, 'password'
Reply With Quote
  #5  
Old 06-02-2004, 07:32 AM
wize_one
Dragon
 
Join Date: Jan 2004
Location: LasShithole, NV
Posts: 520
Default

grant all on *.* to 'user'@'ip' idenified by 'password' with grant option; is the right string
__________________
Perfect quote from another site: it's immature pricks who refuse to read the numerous stickies in every forum pointing out what to do and what not to do that get flamed. Grow up and learn to do your fucking homework before opening your cake hole, junior. EQEmu doesn't like you anymore, and that's why you're getting errors. So go away.
__________________
Reply With Quote
  #6  
Old 06-02-2004, 08:38 AM
Jezebell
Discordant
 
Join Date: Feb 2004
Location: Florida
Posts: 441
Default

Code:
grant all privileges on *.* to username@% identified by 'password' with grant option;
Would give someone who uses the specified username/password to connect to any database from any IP address.
__________________
Eru, the Creator of Arda
ServerOwner for The First Age
An EQEMulator Roleplaying [Custom-Legit] Server
The First Age Website

Running on: Asus A7N8X-Deluxe, AMD Athlon XP 2100+, Geil 1024MB PC3200 Ultra DDR RAM,
WD 40GB 7200rpm ATA-100 HDD, Visiontek 128MB Geforce4 TI 4400, Windows XP Pro SP2
Reply With Quote
  #7  
Old 06-02-2004, 08:41 AM
cofruben
Old-EQEmu Developer
 
Join Date: Oct 2002
Location: Spain
Posts: 323
Default

Quote:
Originally Posted by Jezebell
Code:
grant all privileges on *.* to username@% identified by "password" with grant option;
Would give someone who uses the specified username/password to connect to any database from any IP address.
that is not correct.
Code:
grant all privileges on *.* to username@% identified by 'password' with grant option
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:25 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