<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>shinofara</author_name>
  <author_url>https://blog.hatena.ne.jp/shinofara/</author_url>
  <blog_title>Technofara</blog_title>
  <blog_url>https://shinofara.hateblo.jp/</blog_url>
  <categories>
    <anon>調査</anon>
    <anon>技術</anon>
    <anon>Mac</anon>
    <anon>Play2</anon>
    <anon>Scala</anon>
    <anon>環境</anon>
    <anon>mysql</anon>
    <anon>導入手順</anon>
  </categories>
  <description>play2とか関係なしに、どの言語勉強してても DBをつかってなんやかんやしたくなる時ってある って事で、play2アプリケーションからmysqlに接続するように設定をしてみようと思う。 play2とmysqlの接続設定 肝心の接続の仕方は、 jdbcドライバーを使ってだね、 ローカルのmydbに接続してだね、、、 まずは、jdbcを使う事と、何処のmysqlにつなぐのかを設定ファイルに記述 $ vim conf/application.conf db.default.driver=com.mysql.jdbc.Driver db.default.url=&quot;jdbc:mysql://local…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fshinofara.hateblo.jp%2Fentry%2F2014%2F01%2F17%2F014317&quot; title=&quot;# play2からlocalhostのmysqlに接続するには、、 - Technofara&quot; class=&quot;embed-card embed-blogcard&quot; scrolling=&quot;no&quot; frameborder=&quot;0&quot; style=&quot;display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;&quot;&gt;&lt;/iframe&gt;</html>
  <image_url></image_url>
  <provider_name>Hatena Blog</provider_name>
  <provider_url>https://hatena.blog</provider_url>
  <published>2014-01-17 01:43:17</published>
  <title># play2からlocalhostのmysqlに接続するには、、</title>
  <type>rich</type>
  <url>https://shinofara.hateblo.jp/entry/2014/01/17/014317</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
