MySQL Forums
Forum List  »  NDB clusters

Re: location of my.cnf
Posted by: Jacky Shu
Date: June 28, 2006 08:06AM

Thanks, Stewart.

Stewart Smith wrote:
> this would be because in the my.cnf file there's
> teh connect string parameter. ndbd should look in
> the same places mysqld does for my.cnf.
>
I set ndb-connectstring in my.cnf, both in [mysqld] (for SQL node) and [mysql_cluster ] (for storage node).
it didn't work if my.cnf is not under my.cnf.
I moved my.cnf to /etc, then tried "ndbd --initial" again. this time, it works.
I guess it is a bug.
the only thing that might be realted is that I have 2 db servers running on this box. it was set to use different my.cnf file, so ndbd might go to read another my.cnf?

> do you have network problems to node 4? or is it
> crashing? it's missing heartbeats, which means
> there's some connection problem along the way
>
I don't think it is a network problem. I can run DML on this node without problem, I even can run "select count(*)" on it, but if I want to do "select * ", I got error. I think "select count(*)" won't need to access network, but any clue?

i moved that storage node to another box to find out whether location of my.cnf is important to clustering. this time, my.cnf is under /etc. and i can do "select *" on this box!

thank you again.

Jacky Shu

OCPDBA, MCDBA

Options: Reply• Quote


Subject
Views
Written By
Posted
18903
June 27, 2006 06:06AM
5394
June 28, 2006 01:42AM
Re: location of my.cnf
5608
June 28, 2006 08:06AM
2949
June 28, 2006 10:24PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.