Quantcast
Channel: MySQL Forums - NDB clusters
Viewing all articles
Browse latest Browse all 1560

Error in changing ENGINE from InnoDB to NDB (no replies)

$
0
0
Hi
i configure mysql cluster with 2 nodes.and after configurations i did verified the cluster replication by creating the table in "test" with NDB as engine. But however the problem is when i installed one vendor software which creates its own tables in mysql when we install that product. I could see that it created the tables with InnoDB ENGINE but to replicate the data in cluster i want to ALTER those tables to use NDBCLUSter as engine. when iam trying to execute the below command
mysql> SET FOREIGN_KEY_CHECKS=0;
mysql> use ssg;
mysql> alter table service_metrics ENGINE=NDBCLUSTER;

iam getting the below error
ERROR 1217 (23000): Cannot delete or update a parent row: a foreign key constraint fails

Could you please assist me here to change the ENGINE To NDBCLUSTER.

Thanks,
Naveen

Viewing all articles
Browse latest Browse all 1560


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>