Jump to content

Recommended Posts

Hi! I'm new to this board, but not new to php or mysql.

 

I have a client that runs a slave database from my master mysql database. However, after a crash on the slave we dumped the master db and my client restored his db from the dump. He started the replication again from my instructions but gets the following error where checking show slave status:

 

"Error 'Access denied; you need the SUPER privilege for this operation' on query." The query is an INSERT statement

 

Isn't this done by the replication user? That user only have replication privileges...

 

Anyont know how to get it right?

 

/Bobo - web developer for Kodstationen AB, Sweden

Link to comment
https://forums.phpfreaks.com/topic/151043-solved-replication-and-errors-on-slave/
Share on other sites

I'm sorry about not updating this post since I figured out that it was an trigger that caused the error.The trigger was defined (by the dump) by another user. Adding the user to the slave solved the problem.

 

And I'm sorry that I didn't read the guidlines for the board...  :-\

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.