Solved

Error No. in Mysql Replication

Posted on 2006-07-20
8
230 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
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
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

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This guide whil teach how to setup live replication (database mirroring) on 2 servers for backup or other purposes. In our example situation we have this network schema (see atachment). We need to replicate EVERY executed SQL query on server 1 to…
I have been using r1soft Continuous Data Protection (http://www.r1soft.com/linux-cdp/) for many years now with the mySQL Addon and wanted to share a trick I have used several times. For those of us that don't have the luxury of using all transact…
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.

912 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

16 Experts available now in Live!

Get 1:1 Help Now