Go Back   EQEmulator Home > EQEmulator Forums > Archives > Archive::Development > Archive::Database/World Building

Archive::Database/World Building 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-10-2004, 09:43 PM
Karnan
Fire Beetle
 
Join Date: Oct 2003
Posts: 4
Default Granting access

When i type

Quote:
Type in: GRANT ALL PRIVILEGES ON *.* to '%'@localhost IDENTIFIED BY '%';
I get

Quote:
ERROR 1045: Access denied for user: '@localhost' <Using password: NO>
Anyone have any ideas? :(
Reply With Quote
  #2  
Old 01-10-2004, 10:00 PM
Lurker_005
Demi-God
 
Join Date: Jan 2002
Location: Tourist town USA
Posts: 1,671
Default

should be '%@localhost' not '%'@localhost
__________________
Please read the forum rules and look at reacent messages before posting.
Reply With Quote
  #3  
Old 01-10-2004, 10:09 PM
Karnan
Fire Beetle
 
Join Date: Oct 2003
Posts: 4
Default

changed it and still got same error.
Reply With Quote
  #4  
Old 01-10-2004, 10:10 PM
Karnan
Fire Beetle
 
Join Date: Oct 2003
Posts: 4
Default

Quote:
GRANT ALL PRIVILEGES ON *.* to '%@localhost' IDENTIFIED BY '%';
Thats what it should be right?
Reply With Quote
  #5  
Old 01-10-2004, 11:03 PM
Squiffy
Sarnak
 
Join Date: Oct 2002
Posts: 78
Default

Did you log in as root? And is % your username and pwd?
Reply With Quote
  #6  
Old 01-10-2004, 11:10 PM
Karnan
Fire Beetle
 
Join Date: Oct 2003
Posts: 4
Default

How do i log in as root and is this how it should be..

Quote:
GRANT ALL PRIVILEGES ON *.* to 'username@localhost' IDENTIFIED BY 'password';
?
Reply With Quote
  #7  
Old 01-11-2004, 12:31 AM
Squiffy
Sarnak
 
Join Date: Oct 2002
Posts: 78
Default

Code:
mysql -u root mysql
and I THINK you need to drop the quotes around the username bit... and don't forget grant option

Code:
GRANT ALL PRIVILEGES ON *.* to username@localhost 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 02:13 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