1
0

More than 3 years have passed since last update.

RaspberryPiのPythonでMySQLへ接続する

Last updated at Posted at 2019-12-31

TWE-Liteのセンサー値をテーブルにINSERTしたかったので、その準備

コマンドはたった1つ

$ sudo pip install PyMySQL

上記がダメなら下記をインストール

$ sudo pip install mysql-connector-python-rf

これだけで、ソースに記述したDB関連が動くようになる。
以上。

1
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
1
0