MySQL Forums
Forum List  »  NDB clusters

Re: Mysqld Start failed. * 22: Error * The process has wrong type. Expected a DB process.: Permanent error: Application error
Posted by: Jonathan Stephens
Date: December 10, 2014 05:49AM

Hi Timothy, that's not how you start an SQL node. START in the ndb_mgm client works only with data nodes.

To start a MySQL server with the NDB support enabled, start it with the --ndbcluster option. To tell it which cluster it needs to join, start it with the --ndb-connectstring option also.

The cluster must be running first, of course. Then you can start the SQL node from your system shell like this:

mysqld_safe --ndbcluster --ndb-connectstring=192.168.168.187 &

Or put the options in a configuration file that's read by mysqld.

Hope this helps.

Jon Stephens
MySQL Documentation Team @ Oracle

MySQL Dev Zone
MySQL Server Documentation
Oracle

Options: ReplyQuote




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.