niXforums Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   PreferencesPreferences   Log in to check your private messagesLog in to check your private messages   Log inLog in 
·  nixdoc.net ·  man pages ·  Linux HOWTOs ·  FreeBSD Tips ·  Forums
navigation Forum index » Databases » MySQL
Unable to grant replication slave/client to class c
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
Author Message
Michael M.
*nix forums beginner


Joined: 12 Feb 2006
Posts: 41

PostPosted: Thu Jul 20, 2006 10:59 pm    Post subject: Unable to grant replication slave/client to class c Reply with quote

I'm attempting to take a brand new mysql server build on gentoo and set up
replication.

I'm using

GRANT REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO
'repl'@"192.168.1.0/255.255.255.0" IDENTIFIED BY 'secret';



I've tried various combinations of removing the quotes, tried not using a
password, and various other things, yet when I

SHOW GRANTS FOR repl;

I get nothing.



If I do the same, and use % for all hosts, it works, and it shows up in the
grants.

I tried to limit it to one IP, it wouldn't show up, tried %.domain.com and
that wouldn't work either. The only way I could get anything at all to show
up when SHOW GRANTS FOR repl; was performed is to use

GRANT REPLICATION SLAVE, REPLICATION CLIENT ON *.* TO 'repl'@"%" IDENTIFIED
BY 'secret';



Now, what I'll eventually be setting up is a master-master replication
(basically only for failover using keepalived), so if anyone has any
experience with that, I'd be much appreciated. These are completely empty
freshly built gentoo/mysql installs, so a "from the ground up" reply is
appreciated.



Thanks,

Michael
Back to top
Google

Back to top
Display posts from previous:   
Post new topic   Reply to topic Page 1 of 1 [1 Post] View previous topic :: View next topic
The time now is Mon Dec 01, 2008 6:48 pm | All times are GMT
navigation Forum index » Databases » MySQL
Jump to:  

Similar Topics
Topic Author Forum Replies Last Post
No new posts Unable to print PDF only. subhankar RedHat 0 Mon May 05, 2008 9:08 am
No new posts Postfix SMTP client issues damber Postfix 1 Sat Apr 19, 2008 11:33 am
No new posts unable to pop bahadirtonguc Postfix 0 Fri Apr 04, 2008 6:32 pm
No new posts Unable to detect HDD infoshirish hardware 0 Wed Jun 06, 2007 11:12 am
No new posts Unable to detect HDD infoshirish hardware 0 Wed Jun 06, 2007 11:11 am

Ringtones | Credit Cards | Credit Check | Loans | Loan
Copyright © 2004-2005 DeniX Solutions SRL
 
Other DeniX Solutions sites: Unix/Linux blog |  electronics forum |  medicine forum |  science forum | 
Privacy Policy


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.1250s ][ Queries: 16 (0.0616s) ][ GZIP on - Debug on ]