We are trying to clone Mysql Cluster (ClusterDB) database on same instance by taking backup with Mysqldump and then restoring it with mysql as following:
mysqldump -u masterdb1 -p --single-transaction db_master_1 > db_master_1_bk.sql
mysql -u testdev -p db_testdev_1 < db_master_1_bk.sql
However while restoring it throws an error:
ERROR 1192 (HY000) at line 112: Can't execute the given command because you have active locked tables or an active transaction
Any Help..? Thanks.