User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the MySQL section within the Web Development category of DaniWeb, a massive community of 455,974 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 3,754 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our MySQL advertiser: Programming Forums
Views: 1260 | Replies: 0
Reply
Join Date: Oct 2007
Location: NewYork
Posts: 3
Reputation: pooranjaiswal is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
pooranjaiswal's Avatar
pooranjaiswal pooranjaiswal is offline Offline
Newbie Poster

Troubleshooting MySql Replication problem

  #1  
Nov 27th, 2007
hi...
i have setup the mysql replication but i dont know for some reason its not replicating the data.. i may be missing some configuration.. please help me... to do the same..

Thanks in advance..
Pooran Jaiswal

my.cnf entries on slave server

[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
skip-networking

old_passwords=1
server-id=3
master-host=192.168.x.x
master-port=3306
master-user=yyyyyyyy
master-password=xxxxx

log-bin=/var/log/mysql/bin.log
log-bin-index=/var/log/mysql/log-bin.index
log-error=/var/log/mysql/error.log

relay-log=/var/log/mysql/relay.log
relay-log-info=/var/log/mysql/relay-log.info
relay-log-index=/var/log/mysql/relay-log.index
[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid


my.cnf entries on master server
[mysqld]
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
skip-networking
old_passwords=1
server-id=1
log-bin=/var/log/mysql/bin.log
log-bin-index=/var/log/mysql/log-bin.index
log-error=/var/log/mysql/error.log
binlog-do-db=somedb
binlog-ignore-db=mysql
binlog-ignore-db=test

[mysql.server]
user=mysql
basedir=/var/lib

[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
socket=/var/lib/mysql/mysql.sock
datadir=/var/lib/mysql
Pooran Jaiswal
Tech Architect
http://www.123bubbles.com
AddThis Social Bookmark Button
Reply With Quote  
Reply

Only community members can participate in forum threads. You must register or log in to contribute.

DaniWeb MySQL Marketplace
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 

Thread Tools Display Modes

Similar Threads
Other Threads in the MySQL Forum

All times are GMT -4. The time now is 9:17 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC