Solved

Error No. in Mysql Replication

Posted on 2006-07-20
8
231 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
Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

 
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

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

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

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…
Both Easy and Powerful How easy is PHP? http://lmgtfy.com?q=how+easy+is+php  Very easy.  It has been described as "a programming language even my grandmother can use." How powerful is PHP?  http://en.wikipedia.org/wiki/PHP  Very powerful.  But a…
This Micro Tutorial will give you a basic overview how to record your screen with Microsoft Expression Encoder. This program is still free and open for the public to download. This will be demonstrated using Microsoft Expression Encoder 4.

831 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