Thursday, December 6, 2012

Granting Shutdown Rights to a User (SQL Command)

GRANT SHUTDOWN ON *.* TO 'root'@'localhost' IDENTIFIED BY 'password'

Actually shutting it down:

mysqladmin shutdown -u root -p
(Type in password when prompted)

No comments:

Post a Comment