0
1

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 5 years have passed since last update.

Node-REDにMySQLノードを追加する

Last updated at Posted at 2017-09-11

Node-REDとMySQLでシンプルなウェブサイトを作ってみます。

#1. Node-REDにMySQLノードを追加する

  • Node-REDが停止していることを確認します。Node-REDは[Cntl]+Cで停止します
    -npm node-red-node-mysqlを参照し、npm install node-red-node-mysqlでNode-REDにMySQLノードを追加します
Node-REDにMySQLノードを追加
MacBook-Pro:tigergate tohru$ npm install node-red-node-mysql
node-red-project@0.0.1 /Users/tohru/Desktop/tigergate
└─┬ node-red-node-mysql@0.0.16 
  └─┬ mysql@2.14.1 
    ├── bignumber.js@4.0.2 
    ├─┬ readable-stream@2.3.3 
    │ ├── core-util-is@1.0.2 
    │ ├── inherits@2.0.3 
    │ ├── isarray@1.0.0 
    │ ├── process-nextick-args@1.0.7 
    │ ├── string_decoder@1.0.3 
    │ └── util-deprecate@1.0.2 
    ├── safe-buffer@5.1.1 
    └── sqlstring@2.2.0 

npm WARN node-red-project@0.0.1 No repository field.
npm WARN node-red-project@0.0.1 No license field.
MacBook-Pro:tigergate tohru$ 

  • Node-redを起動し、MySQLノードが追加されていることを確認します
スクリーンショット 2017-09-11 17.15.15.png
0
1
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
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?