{"provider_name":"Hatena Blog","version":"1.0","title":"Python\u3067Flask + MariaDB(MySQL)\u3092\u4f7f\u3046\u65b9\u6cd5","blog_url":"https://kagasu.hatenablog.com/","categories":["Python","MySQL","MariaDB"],"html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fkagasu.hatenablog.com%2Fentry%2F2018%2F08%2F21%2F084437\" title=\"Python\u3067Flask + MariaDB(MySQL)\u3092\u4f7f\u3046\u65b9\u6cd5 - \u5099\u5fd8\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","provider_url":"https://hatena.blog","url":"https://kagasu.hatenablog.com/entry/2018/08/21/084437","description":"\u2160. \u306f\u3058\u3081\u306b \u30bf\u30a4\u30c8\u30eb\u306e\u901a\u308a\u300cPython\u3067Flask + MariaDB(MySQL)\u3092\u4f7f\u3046\u65b9\u6cd5\u300d\u3067\u3059\u3002 \u2161. \u3084\u308a\u65b9 1. Flask\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b pip install flask pip install flask-mysql 2. \u30b5\u30f3\u30d7\u30eb\u30d7\u30ed\u30b0\u30e9\u30e0 from flask import Flask, jsonify from flaskext.mysql import MySQL app = Flask(__name__) mysql = MySQL() app.config['MYSQL_DATABASE_USER'] = 'your_db_user' app.config\u2026","author_name":"kagasu","blog_title":"\u5099\u5fd8\u9332","type":"rich","image_url":"https://cdn-ak.f.st-hatena.com/images/fotolife/k/kagasu/20180821/20180821084409.png","author_url":"https://blog.hatena.ne.jp/kagasu/","height":"190","published":"2018-08-21 08:44:37"}