代码之家  ›  专栏  ›  技术社区  ›  prasad kp

无法在Fluentd中安装MySQL批量插件

  •  0
  • prasad kp  · 技术社区  · 6 年前

    嗨,我最近开始使用Fluent D,我需要安装 此URL中指定的MySQL批量插件

    操作系统:Centos 7

    https://github.com/toyama0919/fluent-plugin-mysql-bulk 如此URL中指定的 当我运行命令gem install fluent plugin mysql bulk时

    获取错误为 错误:找不到有效的gem“fluent plugin mysql bulk”(>=0),原因如下: 无法从下载数据 https://rubygems.org/ -没有这样的名字( https://rubygems.org/latest_specs.4.8.gz )

    也尝试从sbin文件夹

    cd/opt/td代理/usr/sbin/ [root@hyd-cms-camaign-lsrv2 sbin]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插件mysql

    找不到有效的gem“fluent plugin mysql”(>=0),原因如下: bash:意外标记`('附近的语法错误 [root@hyd-cms-camaign-lsrv2 appuser]无法从下载数据 网址:https://rubygems.org/ -没有这样的名字( 网址:https://rubygems.org/latest_specs.4.8.gz )

    谢谢你的帮助

    1 回复  |  直到 6 年前
        1
  •  0
  •   Toru Takahashi    6 年前

    请参阅自述文件。 https://github.com/toyama0919/fluent-plugin-mysql-bulk

    已弃用:此插件已合并到Fluent插件mysql中。此插件不再维护!!!!!!!

    使用fluent插件mysql代替。 https://github.com/tagomoris/fluent-plugin-mysql