{"published":"2015-07-12 22:17:27","blog_title":"tweeeety\u306e\u3076\u308d\u3050\u7684\u3081\u3082","author_name":"tweeeety","version":"1.0","author_url":"https://blog.hatena.ne.jp/tweeeety/","url":"https://tweeeety.hateblo.jp/entry/2015/07/12/221727","description":"\u306f\u3058\u3081\u306b perlbrew x cpanm x \u3042\u3068\u306f\u3044\u308d\u3044\u308d\u306a\u69cb\u6210\u3067\u30a2\u30d7\u30ea\u3092\u4f5c\u3063\u3066\u3044\u305f\u306e\u3067\u3059\u304c\u3001 DBD::mysql\u3067perl->mysql\u63a5\u7d9a\u3057\u3088\u3046\u3068\u3059\u308b\u3068\u3053\u3093\u306a\u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3053\u3068\u304c\u3042\u308a\u307e\u3059\u3002 BI connect('dbname=hoge;host=localhost;port=3306','hoge',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2) \u305d\u3093\u306a\u3068\u304d\u306e\u5bfe\u51e6\u6cd5 \u30a8\u30e9\u30fc\u304c\u51fa\u308b\u3068\u304d # \u5404\u5909\u6570\u306b\u306f\u9069\u5207\u306a\u5024\u304c\u5165\u3063\u3066\u308b my $dbh = DB\u2026","title":"\u3010perl\u3011DBI::mysql\u3067mysql\u306b\u63a5\u7d9a\u3059\u308b\u3068`DBI connect('dbname=hoge;host=localhost;port=3306','hoge',...) failed: Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock' (2)`\u3068\u8868\u793a\u3055\u308c\u308b\u3084\u30fc\u3064\u306e\u5bfe\u5fdc","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Ftweeeety.hateblo.jp%2Fentry%2F2015%2F07%2F12%2F221727\" title=\"\u3010perl\u3011DBI::mysql\u3067mysql\u306b\u63a5\u7d9a\u3059\u308b\u3068`DBI connect(&#39;dbname=hoge;host=localhost;port=3306&#39;,&#39;hoge&#39;,...) failed: Can&#39;t connect to local MySQL server through socket &#39;/var/lib/mysql/mysql.sock&#39; (2)`\u3068\u8868\u793a\u3055\u308c\u308b\u3084\u30fc\u3064\u306e\u5bfe\u5fdc - tweeeety\u306e\u3076\u308d\u3050\u7684\u3081\u3082\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","categories":["perl","cpan","mysql"],"provider_name":"Hatena Blog","type":"rich","width":"100%","provider_url":"https://hatena.blog","blog_url":"https://tweeeety.hateblo.jp/","height":"190","image_url":null}