Mysql Maintenance Issue

I want to change the location of my mysql.sock file for this, I try to stop mysql and then edit my.cnf file, but I get a message

abdul @ OSS-240: ~ $ service mysql stop

stop: rejected sending message, 1 compliance with the rules; TYPE = "method_call", sender = ": 1.62" (uid = 1001 pid = 3159 comm = "stop) interface =" com.ubuntu.Upstart0_6.Job "member =" Stop "error name =" (unset) "request_reply = 0 destination = "com.ubuntu.Upstart" (uid = 0 pid = 1 comm = "/ sbin / init"))

what is the problem.

+4
source share
1 answer

It sounds as if the user 'abdul' does not have the necessary permissions to stop and start MySQL Server. Either grant these permissions (perhaps not recommended for security), or run the stop and start command with root privileges.

+6
source

All Articles