{"provider_name":"Hatena Blog","published":"2019-02-24 13:51:34","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Foboe2uran.hatenablog.com%2Fentry%2F2019%2F02%2F24%2F135134\" title=\"MySQL Connector \u306e with \u6587  - Oboe\u5439\u304d\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u9ed9\u793a\u9332\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","type":"rich","description":"Python \u3067\u306f\u3001PostgreSQL \u306e\u63a5\u7d9a\u3001psycopg2 \u306e connect \u306f\u3001 with \u6587\u3092\u66f8\u304f\u3053\u3068\u304c\u3067\u304d\u307e\u3059\u304c\u3001 import psycopg2 with psycopg2.connect(\"host=localhost port=5432 dbname=urandb user=postgres password=aswe344f\") as con: with con.cursor() as cur: # TODO \u306e\u3088\u3046\u306b\u3001\u3001\u3001\u66f8\u3051\u308b\u3002 mysql-connector-python \u306f\u3001\u3053\u306e\u3088\u3046\u306b\u3001\u305d\u306e\u307e\u307e\u4f7f\u3046\u306e\u3067\u306f\u3001with\u6587\u3092\u66f8\u3051\u307e\u305b\u3093\u3002 mysql-connector\u2026","blog_url":"https://oboe2uran.hatenablog.com/","author_url":"https://blog.hatena.ne.jp/posturan/","categories":["Python"],"url":"https://oboe2uran.hatenablog.com/entry/2019/02/24/135134","version":"1.0","width":"100%","author_name":"posturan","title":"MySQL Connector \u306e with \u6587 ","provider_url":"https://hatena.blog","blog_title":"Oboe\u5439\u304d\u30d7\u30ed\u30b0\u30e9\u30de\u306e\u9ed9\u793a\u9332","height":"190","image_url":null}