这是默认的数据库存储引擎吗?我想用MYSQL“NDB CLUSTER”存储引擎安装我的WordPress网站。我试图安装wordpress网站,但它与InnoDB一起安装。请帮我解决这个问题。
我使用了这个SET storage_engine = NDBCLUSTER;在mysql中。
答案 0 :(得分:0)
有两种方法可以将具有外键的InnoDB表迁移到NDB。
Dump the database and edit the script so each table specifies ENGINE=NDB before re-importing the script to a new database
Drop the constraints, alter the tables to use the NDB engine, and recreate the constraints
Dumping the database and editing the script is a straightforward use of mysqldump and a text editor.
Converting InnoDB Tables to MySQL Cluster
它可能对你有帮助