0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 1 year has passed since last update.

telegrafを使用してMySQLに接続しているときに[inputs.sql]のdsnを設定するにはどうすればよいですか?

Posted at

接続に問題がある場合は、最初に Telegraf エージェントがデプロイされている場所から MySQL 接続をテストする必要があります。

  1. Telegraf エージェントがデプロイされているターミナルを開きます
  2. コマンド プロンプト内から、コマンド telnet 3306 を入力します。この場合、次のようになります:

192.168.48.5:3306

  1. Enter キーを押してコマンドを有効にします。 MySQL サービスが実行されている場合は、サーバーから応答を受け取ります。そうでない場合は、MySQL が稼働中で、ファイアウォールがクリアされていることを確認してください。
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?