Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
如果显示引擎命令中当前不存在 Blackhole 存储引擎,是否可以将其启用/添加到现有 MySQL 服务器实例?MySQL 5.1 CentOs 6.5 Linux。在这方面,文档似乎很差。
Blackhole 在 CentOS 6.x 系列上作为插件分发。要在 mysql 中启用它,您需要以超级用户身份执行此操作:
INSTALL PLUGIN blackhole SONAME 'ha_blackhole.so';
之后,检查它:
SHOW ENGINES;