MySQL安装Federated引擎
Beginning with MySQL 5.0.64, the FEDERATED storage engine is not enabled by default in the running server; to enable FEDERATED, you must start the MySQL server binary using the –federated option.
从 mysql 官方文档可以看出, 从 5.0.64 以后 Federated 存储引擎默认不开启, 但我们需要使用的时候, 需要手动开启
mysql> show engines;
显示 FEDERATED 的 Support 为 NO 即没有安装
键入开始安装
mysql> install plugin federated soname 'ha_federated.so';
配置文件开启
1 | vi /etc/my.cnf |
启动服务
mysqld --federated
重启服务
service mysqld restart
再查看服务是否开启
mysql> show engines;
MySQL安装Federated引擎
https://blog.catooilg.com/2020/08/05/yuque/MySQL安装Federated引擎/