{"id":626,"date":"2012-12-15T12:10:44","date_gmt":"2012-12-15T11:10:44","guid":{"rendered":"http:\/\/blog.techmedia.pl\/?p=626"},"modified":"2012-12-15T12:17:02","modified_gmt":"2012-12-15T11:17:02","slug":"ubuntu-instalacjaubuntu-instalacja-perl-mysql","status":"publish","type":"post","link":"https:\/\/www.techmedia.pl\/blog\/ubuntu-instalacjaubuntu-instalacja-perl-mysql\/","title":{"rendered":"Ubuntu instalacja perl mysql"},"content":{"rendered":"<p>\u017beby po\u0142\u0105czy\u0107 si\u0119 z baz\u0105 danych MySQL za pomoc\u0105 perl&#8217;a nale\u017cy w pierwszej kolejno\u015bci go zainstalowa\u0107:<\/p>\n<pre>root@server: <strong>apt-get install perl<\/strong><\/pre>\n<p>Je\u015bli przy pr\u00f3bie po\u0142\u0105czenia z mysql&#8217;em za pomoc\u0105 perl&#8217;a otrzymujecie poni\u017cszy komunikat:<\/p>\n<pre>Can't locate DBI.pm in @INC (@INC contains: ...<\/pre>\n<p>mo\u017ce to oznacza\u0107, \u017ce musicie wykona\u0107 poni\u017csze polecenie:<\/p>\n<pre>root@server: <strong>apt-get install libdbi-perl<\/strong><\/pre>\n<p>Je\u015bli po zainstalowaniu powy\u017cszej biblioteki, macie dalsze problem\u00f3w z po\u0142\u0105czeniem z mysql&#8217;em lub otrzymujecie poni\u017cszy komunikat:<\/p>\n<pre>Can't locate DBD\/mysql.pm in @INC ...<\/pre>\n<p>wystarczy wykona\u0107 polecenie:<\/p>\n<pre>root@server: <strong>apt-get install libdbd-mysql-perl<\/strong><\/pre>\n<p>Je\u015bli \u0142\u0105czycie si\u0119 ze zdalnym serwerem pami\u0119tajcie o:<\/p>\n<p>&#8211; dodaniu odpowiednich regu\u0142ek w firewall&#8217;u,<\/p>\n<p>&#8211; zakomentowaniu linii: <em><strong>bind-address\u00a0 = 127.0.0.1<\/strong><\/em> w pliku \/etc\/mysql\/my.cnf<\/p>\n<p>&#8211; dodaniu uprawnie\u0144 zdalnego dost\u0119pu do wybranej bazy danych dla u\u017cytkownika, kt\u00f3rego u\u017cywacie do po\u0142\u0105czenia<\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u017beby po\u0142\u0105czy\u0107 si\u0119 z baz\u0105 danych MySQL za pomoc\u0105 perl&#8217;a nale\u017cy w pierwszej kolejno\u015bci go zainstalowa\u0107: root@server: apt-get install perl Je\u015bli przy pr\u00f3bie po\u0142\u0105czenia z mysql&#8217;em za pomoc\u0105 perl&#8217;a otrzymujecie poni\u017cszy komunikat: Can&#8217;t locate DBI.pm in @INC (@INC contains: &#8230; mo\u017ce to oznacza\u0107, \u017ce musicie wykona\u0107 poni\u017csze polecenie: root@server: apt-get install libdbi-perl Je\u015bli po zainstalowaniu [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[4,15,140],"tags":[79,24,48,101],"yst_prominent_words":[],"_links":{"self":[{"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/posts\/626"}],"collection":[{"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/comments?post=626"}],"version-history":[{"count":4,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/posts\/626\/revisions"}],"predecessor-version":[{"id":628,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/posts\/626\/revisions\/628"}],"wp:attachment":[{"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/media?parent=626"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/categories?post=626"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/tags?post=626"},{"taxonomy":"yst_prominent_words","embeddable":true,"href":"https:\/\/www.techmedia.pl\/blog\/wp-json\/wp\/v2\/yst_prominent_words?post=626"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}