Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::General > Archive::General Discussion

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

Reply
 
Thread Tools Display Modes
  #1  
Old 01-11-2004, 05:44 PM
warlockz
Fire Beetle
 
Join Date: Dec 2003
Location: New Hampshire
Posts: 10
Default Command line question MySQL

GRANT ALL PRIVILEGES ON *.* to '%'@localhost IDENTIFIED BY '%';

I'm no programmer by any sort, I'm mearly curious if I can host my own server, and try and teach myself how to manipulate it. perhaps I may even get good at it, novice by your standards i'm sure but can't hurt to try,

my question is where should the username and pass work for the command line be put, I saw a post on it but I can't seem to locate it so I can enter the command line correctly,

post an example of this command line if you would so I can better understand what the command line needs to work correctly

thanks
Reply With Quote
  #2  
Old 01-11-2004, 06:35 PM
koad
Fire Beetle
 
Join Date: Aug 2003
Posts: 14
Default

your posted example
Quote:
GRANT ALL PRIVILEGES ON *.* to '%'@localhost IDENTIFIED BY '%';
gives access to all dbs, to all users (that mysql recognizes) with any username and password (% is wildcard)

When your changing db privledges you need to be in the client as root (even in windoze). In windows you will login as root if the mysqladmin is running, just do the following:
Code:
mysql -u root mysql
then you can change your db privledges for the user that your server/editors use to login as. i used:
Code:
grant all privileges on eq.* to 'eqemu'@localhost identified by 'test' with grant option;
so my servers login to the database called eq with the user/pass (eqemu/test) thats in c:\winnt\my.ini file (editable right in mysqladmin)
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 02:07 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