If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > Restoring Permission

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 04-11-04, 01:33
Eal Eal is offline
Registered User
 
Join Date: Apr 2004
Location: Canada
Posts: 1
Restoring Permission

I was playing with the users table in mysql database. Not sure what I did, but now, I cant see any of my databases in there when I log in with Root user. I know I have not deleted them, and they still exist in my computer, but I guess I do not have permission to view them.

From command prompt, when I go to >mysql and try to add a user by:

mysql> grant all privileges on *.* to abc@localhost identified by 'abc';
ERROR 1045: Access denied for user: '@localhost' (Using password: NO)


Looks like I do not have access enough to do that. Can someone please write me, how to go about getting my permissions back?

Thanks a lot!
Reply With Quote
  #2 (permalink)  
Old 04-12-04, 12:07
ika ika is offline
Registered User
 
Join Date: Oct 2003
Location: Slovakia
Posts: 482
Re: Restoring Permission

Quote:
Originally posted by Eal
I was playing with the users table in mysql database. Not sure what I did, but now, I cant see any of my databases in there when I log in with Root user. I know I have not deleted them, and they still exist in my computer, but I guess I do not have permission to view them.

From command prompt, when I go to >mysql and try to add a user by:

mysql> grant all privileges on *.* to abc@localhost identified by 'abc';
ERROR 1045: Access denied for user: '@localhost' (Using password: NO)


Looks like I do not have access enough to do that. Can someone please write me, how to go about getting my permissions back?

Thanks a lot!
Look at: " identified by 'abc';" and "Using password: NO"

It seems you try connect without password.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On