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 > Cannot shutdown MySql even with SHUTDOWN privilege

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-03-09, 11:26
gwgeller gwgeller is offline
Registered User
 
Join Date: Jan 2004
Posts: 145
Cannot shutdown MySql even with SHUTDOWN privilege

Hello,
I have a user mysql@'%' that has the SHUTDOWN privilege granted. When I try to use mysqladmin shutdown -u mysql I get an error saying access denied. You must have the SHUTDOWN privilege. I've flushed privileges, restarted the server and still cannot get this to work. I have what seems to be the same setup on another computer and it works fine. In both cases I have user mysql@'%' and when using SHOW GRANTS FOR mysql@'%'; I get GRANT SHUTDOWN ON *.* TO mysql@'%'. I cannot figure out why it will not work on the one instance.
__________________
GG
Code:
On Error Goto Hell

Hell:
    Msgbox("An error occurred, but was sent to Hell. You may continue.")
Reply With Quote
  #2 (permalink)  
Old 03-03-09, 12:51
gwgeller gwgeller is offline
Registered User
 
Join Date: Jan 2004
Posts: 145
Not sure why but I had to create the user mysql@localhost and everything works. Like I said on my other computer mysql@'%' works fine.
__________________
GG
Code:
On Error Goto Hell

Hell:
    Msgbox("An error occurred, but was sent to Hell. You may continue.")
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