Solved

Error No. in Mysql Replication

Posted on 2006-07-20
8
229 Views
Last Modified: 2008-02-01
Error No. 1449

there is not user 'xxxxx@%' not registered on query.default database

The query works okay in the master. but it is being altered and a new column added today, after the CREATE OR REPLACE VIEW STATEMENT  salve stopped showing the command listed above.
0
Comment
Question by:tomjosem
  • 3
  • 2
8 Comments
 

Author Comment

by:tomjosem
ID: 17145090
Errro No.
0
 
LVL 35

Expert Comment

by:Raynard7
ID: 17145178
This error seems to be occuring because you are defining a user in the view that the slave user can not replicate.

If you do not have the SUPER privilege, the only legal user value is your own account, either specified literally or by using CURRENT_USER. You cannot set the definer to some other account.

Does the slave / replication user have super privledges?
Who are you setting as the definer in the view?

I would specifically define the user for creating the view - and give the slave user the super priveledge
0
 

Author Comment

by:tomjosem
ID: 17145477
I've given grant all to the user and hope it uncludes the SUPER PREVILEGE.

This occurs also when i restore the backup taken from mysql administrator.

The replication slave user granted super priveleges

0
Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

 
LVL 6

Expert Comment

by:chigs20
ID: 17147064
What version of MySQL are you using?
There is a known bug when it comes to restoring views from mysqldump.
0
 

Author Comment

by:tomjosem
ID: 17149001
Mysql 5.0.16
0
 
LVL 6

Accepted Solution

by:
chigs20 earned 500 total points
ID: 17149704
I've had the same issue in my replication environment...
here is the bug:  http://bugs.mysql.com/bug.php?id=18462

it'll be fixed in 5.0.23 (not yet released)


chigs
0

Featured Post

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Introduction In this article, I will by showing a nice little trick for MySQL similar to that of my previous EE Article for SQLite (http://www.sqlite.org/), A SQLite Tidbit: Quick Numbers Table Generation (http://www.experts-exchange.com/A_3570.htm…
Password hashing is better than message digests or encryption, and you should be using it instead of message digests or encryption.  Find out why and how in this article, which supplements the original article on PHP Client Registration, Login, Logo…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

759 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now