Jump to content

[SOLVED] Replication and errors on slave


kodstationen

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...  :-\

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.