Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8579147
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T20:33:02+00:00 2026-06-11T20:33:02+00:00

I have 2 computer running on Window 7 and I wanted to try MySQL

  • 0

I have 2 computer running on Window 7 and I wanted to try MySQL database replication.
Configuration are as followed.
2 mgt node
2 data node
2 mysqlid node

I have configure the file config.ini

[ndbd default]
noofreplicas=2

[ndbd]
hostname=192.168.0.1
NodeId=1

[ndbd]
hostname=192.168.0.2
NodeId=2

[ndb_mgmd]
hostname=192.168.0.1
NodeId=101

[ndb_mgmd]
hostname=192.168.0.2
NodeId=102

[mysqld]
NodeId=51
hostname=192.168.0.1

[mysqld]
NodeId=52
hostname=192.168.0.2

and the my.cnf(.1)

[mysqld]
ndb-nodeid=51
ndbcluster
datadir=c:\\Users\\Brian\\my_cluster\\mysqld_data
basedir=c:\\Users\\Brian\\mysqlc
port=5000
server-id=51
log-bin

and the my.cnf(.2)

[mysqld]
ndb-nodeid=52
ndbcluster
datadir=c:\\Users\\Brian\\my_cluster\\mysqld_data
basedir=c:\\Users\\Brian\\mysqlc
port=5000
server-id=52
log-bin

however, when i login to the database of the node(master) and created a new database and inserted a new table, i realised that the other node is not able to sync it.

Could someone help me address this issue?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T20:33:03+00:00Added an answer on June 11, 2026 at 8:33 pm

    Brian,

    first of all, just to check terminology – it appears that you’re trying to use “MySQL Cluster” (where the data is held – and synchronously replicated – in the data nodes rather than in the mysqlds) rather “MySQL Replication” (which asynchronously replicates data between mysqlds).

    I’ll assume that the mysqlds are the ones that came with the MySQL Cluster package (‘regular’ mysqlds will not work correctly).

    In order for the tables to be stored in the data nodes (and hence be visible through all mysqlds) rather than in the local mysqld, you must specify that MySQL Cluster is the storage engine to be used: “CREATE TABLE mytab (….) ENGINE=NDBCLUSTER;”. If you don’t do that then the tables will be created with the InnoDB storage engine and will be local to each mysqld.

    Note that if you want your MySQL Cluster to be completely fault tolerant then you should move the ndb_mgmds to their own host(s) rather than co-locating them with data nodes; the reason for this is explained in MySQL Cluster fault tolerance – impact of deployment decisions.

    Andrew.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a mysql database filled up and running on a Windows computer, is
I only have one computer (running OS X), and need to test in both
We have a single computer with Windows7 Home Premium running with SQL Server 2008
Is it possible to have both versions of maven running on the same computer?
I have XWin Server running on my local computer (Windows 7). When I open
I have a client mysql command line running on Windows and I'm accessing a
I have a computer running Windows and connected with many devices, such as a
I have a webserver running on my Windows XP computer. I have set the
I have one computer running ubuntu operating system. It is having a wifi router
I wanted to try my hand at programming android devices, so I followed the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.