{"height":"190","blog_title":"oinume journal","author_url":"https://blog.hatena.ne.jp/oinume/","blog_url":"https://journal.lampetty.net/","provider_name":"Hatena Blog","description":"\u307e\u305a\u3001DBI\u306a\u3069\u306e\u30e9\u30a4\u30d6\u30e9\u30ea\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b\u3002 $ jruby -S gem install dbi dbd-jdbc jdbc-mysql \u3053\u3093\u306a\u30b9\u30af\u30ea\u30d7\u30c8\u66f8\u3044\u3066\u307f\u308b\u3002 require 'dbi' require 'dbd/Jdbc' require 'jdbc/mysql' Jdbc::MySQL.load_driver DBI.connect( 'DBI:Jdbc:mysql://localhost/test', 'root', 'test', 'driver' => 'com.mysql.jdbc.Driver' ) do |dbh| puts \"Connected\" end 5\u884c\u76ee\u2026","image_url":null,"provider_url":"https://hatena.blog","width":"100%","published":"2013-04-04 10:04:46","categories":["JRuby"],"url":"https://journal.lampetty.net/entry/wp/529","type":"rich","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fjournal.lampetty.net%2Fentry%2Fwp%2F529\" title=\"JRuby + DBI + JDBC + MySQL JDBC Driver\u3067MySQL\u306b\u63a5\u7d9a\u3059\u308b - oinume journal\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","version":"1.0","title":"JRuby + DBI + JDBC + MySQL JDBC Driver\u3067MySQL\u306b\u63a5\u7d9a\u3059\u308b","author_name":"oinume"}