<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<oembed>
  <author_name>oinume</author_name>
  <author_url>https://blog.hatena.ne.jp/oinume/</author_url>
  <blog_title>oinume journal</blog_title>
  <blog_url>https://journal.lampetty.net/</blog_url>
  <categories>
    <anon>JRuby</anon>
  </categories>
  <description>まず、DBIなどのライブラリをインストールする。 $ jruby -S gem install dbi dbd-jdbc jdbc-mysql こんなスクリプト書いてみる。 require 'dbi' require 'dbd/Jdbc' require 'jdbc/mysql' Jdbc::MySQL.load_driver DBI.connect( 'DBI:Jdbc:mysql://localhost/test', 'root', 'test', 'driver' =&gt; 'com.mysql.jdbc.Driver' ) do |dbh| puts &quot;Connected&quot; end 5行目…</description>
  <height>190</height>
  <html>&lt;iframe src=&quot;https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjournal.lampetty.net%2Fentry%2Fwp%2F529&quot; title=&quot;JRuby + DBI + JDBC + MySQL JDBC DriverでMySQLに接続する - oinume journal&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>2013-04-04 10:04:46</published>
  <title>JRuby + DBI + JDBC + MySQL JDBC DriverでMySQLに接続する</title>
  <type>rich</type>
  <url>https://journal.lampetty.net/entry/wp/529</url>
  <version>1.0</version>
  <width>100%</width>
</oembed>
