0

I want to test mysql cluster.

I installed, configured and ran. But I can't create a table connected to my engine=ndbcluster.

I got this error ERROR 1005 (HY000): Can't create table 'user_database.user_table' (errno: 157)

Everything is connected correctly.

Someone as an idea? Please!

  • Can you post the query? are all the primary keys set? – TomFirth Mar 31 '14 at 21:46
  • This question might better be asked on dba.stackexchange.com. I think error 157 means that one of the SQL nodes isn't connected to the storage engine... or it might just be something simple wrong with the SQL statement being used to create the table. – spencer7593 Mar 31 '14 at 21:50
  • my query was create table test(id int) engine=ndbcluster; All nodes are connected so that's why i don't understand. – user3435212 Mar 31 '14 at 22:03
  • Can you share the value of : `$ ndb_mgm ndb_mgm> show` You are most probably running different version of mysql and ndb. – Hatem Mar 05 '15 at 10:34

0 Answers0