Abdul Manaf
Abdul Manaf

Reputation: 4888

Mysql service issue

I want to change the location of my mysql.sock file for that i am trying to stop the mysql and then editing the my.cnf file but i am getting a message

abdul@OSS-240:~$ service mysql stop

stop: Rejected send message, 1 matched rules; type="method_call", sender=":1.62" (uid=1001 pid=3159 comm="stop) interface="com.ubuntu.Upstart0_6.Job" member="Stop" error name="(unset)" requested_reply=0 destination="com.ubuntu.Upstart" (uid=0 pid=1 comm="/sbin/init"))

what is the issue.

Upvotes: 4

Views: 2596

Answers (1)

Tom Mac
Tom Mac

Reputation: 9853

It sounds as though user 'abdul' does not have the required permissions to stop and start MySQL Server. Either grant these permissions (probably not advisable for the sake of security) or execute the stop and start command as root.

Upvotes: 6

Related Questions