Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Error No. in Mysql Replication

Posted on 2006-07-20
8
Medium Priority
?
238 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
6 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
Get free NFR key for Veeam Availability Suite 9.5

Veeam is happy to provide a free NFR license (1 year, 2 sockets) to all certified IT Pros. The license allows for the non-production use of Veeam Availability Suite v9.5 in your home lab, without any feature limitations. It works for both VMware and Hyper-V environments

 
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 2000 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

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Introduction Since I wrote the original article about Handling Date and Time in PHP and MySQL several years ago, it seemed like now was a good time to update it for object-oriented PHP.  This article does that, replacing as much as possible the pr…
In this article, we’ll look at how to deploy ProxySQL.
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…
In this video, Percona Solutions Engineer Barrett Chambers discusses some of the basic syntax differences between MySQL and MongoDB. To learn more check out our webinar on MongoDB administration for MySQL DBA: https://www.percona.com/resources/we…
Suggested Courses
Course of the Month8 days, 6 hours left to enroll

877 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