MySQLのモジュールの追加は、公式にある通りです。

node-red-node-mysql – Node-RED

node-redのインストール作業をしたユーザーのhomeディレクトリに「.node-red」が出来てますので、そこに移動します。

cd .node-red

npmからインストールします。

npm install node-red-node-mysql

Node red mysqlmodule install 1

インストールが終わったら、pm2でnode-redを再ロードします。

pm2 reload node-red
カテゴリー: linuxServer

0件のコメント

コメントを残す

アバタープレースホルダー

メールアドレスが公開されることはありません。 が付いている欄は必須項目です

This site uses Akismet to reduce spam. Learn how your comment data is processed.