您好,我最近开始从事fluent d的工作,我需要按照此URL中指定的方式安装MySQL批量插件
操作系统: centos 7
当我运行命令gem install fluent-plugin-mysql- https://github.com/toyama0919/fluent-plugin-mysql-bulk时,此url中指定的插件
获取错误作为错误:找不到有效的gem 'fluent-plugin-mysql-bulk‘(>= 0),原因是:无法从https://rubygems.org/下载数据-没有这样的名称(https://rubygems.org/latest_specs.4.8.gz)
也可以从sbin文件夹中尝试
cd /opt/td-agent/usr/sbin/ root@hyd-cms-camaign-lsrv2gem td-agent-gem install fluent-plugin-mysql错误:找不到有效的gem 'fluent-plugin-mysql‘(>= 0),原因如下:无法从https://rubygems.org/下载数据-没有这样的名称(https://api.rubygems.org/specs.4.8.gz)
试用过URl:
https://github.com/tagomoris/fluent-plugin-mysql
但是,还是有同样的错误
执行以下命令。gem安装fluent-plugin-mysql
找不到有效的gem 'fluent-plugin-mysql‘(>= 0),原因如下: bash:意外令牌附近出现语法错误`(’root@hyd-cms-camaign-lsrv2 appuser# Unable to download data from https://rubygems.org/ - no to (https://rubygems.org/latest_specs.4.8.gz) )
提前感谢您的帮助
发布于 2018-09-24 21:24:26
请参阅自述文件。https://github.com/toyama0919/fluent-plugin-mysql-bulk
已弃用:此插件已合并到fluent- plugin -mysql中。此插件已不再维护!
改用fluent-plugin-mysql。https://github.com/tagomoris/fluent-plugin-mysql
https://stackoverflow.com/questions/52480092
复制相似问题