<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>hata arşivleri - Zülfü Mehmet</title>
	<atom:link href="https://www.zulfumehmet.com/tag/hata/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.zulfumehmet.com/tag/hata/</link>
	<description>Kişisel Bir Olay</description>
	<lastBuildDate>Sun, 23 Dec 2018 13:13:04 +0000</lastBuildDate>
	<language>tr</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.5</generator>

<image>
	<url>https://www.zulfumehmet.com/wp-content/uploads/2016/10/favicon.ico</url>
	<title>hata arşivleri - Zülfü Mehmet</title>
	<link>https://www.zulfumehmet.com/tag/hata/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>MySQL Server&#8217;e Uzaktan Erişime Açmak</title>
		<link>https://www.zulfumehmet.com/mysql-uzaktan-erisime-acmak/</link>
					<comments>https://www.zulfumehmet.com/mysql-uzaktan-erisime-acmak/#comments</comments>
		
		<dc:creator><![CDATA[Zülfü Mehmet ÖZÇİFÇİ]]></dc:creator>
		<pubDate>Tue, 28 Mar 2017 07:07:58 +0000</pubDate>
				<category><![CDATA[Bilgisayar]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[Microsoft]]></category>
		<category><![CDATA[1130]]></category>
		<category><![CDATA[control]]></category>
		<category><![CDATA[erişim]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[hata]]></category>
		<category><![CDATA[kodu]]></category>
		<category><![CDATA[my sql]]></category>
		<category><![CDATA[navicat]]></category>
		<category><![CDATA[remote]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[uzaktan]]></category>
		<guid isPermaLink="false">https://www.zulfumehmet.com/?p=1247</guid>

					<description><![CDATA[<p>Sunucunuza kurduğunuz MySQL Serverinize ilk kurulumda uzaktan erişimi kapattırsanız, sunucu dışındaki bilgisayarlardan erişemezsiniz. Sadece sunucuda kurulu olan web uygulamaları ve programlar erişebilir. NaviCAT ile erişmek istediğinizde büyük ihtimal 1130-host &#8216;xx.xx.xx.xx&#8221; Is not allowed to connect to this MySql (MariaDB) server hatası alacaksınızdır. Bu hatayı Uzaktan erişimimiz olmadığı için alıyoruz. Peki uzaktan erişimi aktif etkem için &#8230; <a href="https://www.zulfumehmet.com/mysql-uzaktan-erisime-acmak/" class="more-link">Continue reading <span class="screen-reader-text">MySQL Server&#8217;e Uzaktan Erişime Açmak</span></a></p>
<p>The post <a href="https://www.zulfumehmet.com/mysql-uzaktan-erisime-acmak/">MySQL Server&#8217;e Uzaktan Erişime Açmak</a> appeared first on <a href="https://www.zulfumehmet.com">Zülfü Mehmet</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Sunucunuza kurduğunuz MySQL Serverinize ilk kurulumda uzaktan erişimi kapattırsanız, sunucu dışındaki bilgisayarlardan erişemezsiniz. Sadece sunucuda kurulu olan web uygulamaları ve programlar erişebilir. NaviCAT ile erişmek istediğinizde büyük ihtimal <strong>1130-host &#8216;xx.xx.xx.xx&#8221; Is not allowed to connect to this MySql (MariaDB) server</strong> hatası alacaksınızdır.</p>
<p><img fetchpriority="high" decoding="async" class="alignnone wp-image-1250" src="https://www.zulfumehmet.com/wp-content/uploads/2017/03/mysql_oagfh1.jpg" width="545" height="582" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/03/mysql_oagfh1.jpg?v=1654871164 545w, https://www.zulfumehmet.com/wp-content/uploads/2017/03/mysql_oagfh1-281x300.jpg?v=1654871164 281w" sizes="(max-width: 545px) 100vw, 545px" /></p>
<p>Bu hatayı Uzaktan erişimimiz olmadığı için alıyoruz. Peki uzaktan erişimi aktif etkem için ne yapmamız gerekiyor. İlk önce my.cnf dosyasını düzenleyelim Linuxda my.conf dosyasın bulmak için</p>
<pre class="brush: php; title: ; notranslate">find -name my.cnf</pre>
<p>Komutunu girdiğimizde aşağıdaki gibi bize yolu gösterecek</p>
<pre class="brush: php; title: ; notranslate"> ./etc/my.cnf</pre>
<p>Şimdi bunu düzenleyelim</p>
<pre class="brush: php; title: ; notranslate">nano /etc/my.cnf</pre>
<p>Windows için ise My SQL kurduğunuz dizinin içinde my.ini dosyasını açınız.</p>
<p>Açtığımız my.cnf dosyasının içinden <strong>bind-address = 127.0.0.1</strong> bu satırı bulunuz başına sharp (#) işareti koayarak yorum haline getirelim.  Yani <strong>#bind-address = 127.0.0.1</strong>şu şekilde düzenleyiniz. Yoksa bir değişiklik yada ekleme yapmanıza gerek yoktur.</p>
<p>Şimdi ssh panelinden mysql konsoluna erişelim (Windows işletim sisteminde ise cmd.exe ile mysql kurulu olan dizine geliniz. Mysql.exe dosyasını açınız.)</p>
<pre class="brush: php; title: ; notranslate"> &#x5B;root@mysqlcik /]#mysql -root -p 

Enter password:

MariaDB &#x5B;(none)]GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'usersifre' WITH GRANT OPTION;

MariaDB &#x5B;(none)]FLUSH PRIVILEGES; 

MariaDB &#x5B;(none)]exit 

&#x5B;root@mysqlcik /]# </pre>
<p class="brush: shell; gutter: true">Eğer sadece bir ip erişmesini istiyorsanız aşağıdaki komutu girebilirsiniz.</p>
<pre class="brush: php; title: ; notranslate">GRANT ALL ON users.* TO 'root'@'ipadresi' IDENTIFIED BY 'usersifre';</pre>
<p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><br />
<!-- Makale_ici --><br />
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1000738755084616"
     data-ad-slot="2280084802"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins><br />
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></p>
<p class="brush: shell; gutter: true">Eğer iç ağdan erişmek istiyorsanız ip adresi olarak iç ağınızdaki ip adresini kullanabilirsiniz. Örneğin 192.168.0.x artık iç ağınızdaki pc nin  ip adresini girmeniz yeterli olacaktır.</p>
<p class="brush: shell; gutter: true">Ardından mysql resetleyelim. My SQL Server kurduysanız mariadb yerine mysql yazmanız yeterli.</p>
<pre class="brush: php; title: ; notranslate">systemctl restart mariadb.service</pre>
<p class="brush: shell; gutter: true">Windowsdan ise mysql sağ tıklayıp restart ediniz. Şimdi erişmeye çalışalım</p>
<p class="brush: shell; gutter: true"><img decoding="async" class="alignnone wp-image-1251" src="https://www.zulfumehmet.com/wp-content/uploads/2017/03/mysql_tzikhw.png" width="982" height="694" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/03/mysql_tzikhw.png?v=1654871163 982w, https://www.zulfumehmet.com/wp-content/uploads/2017/03/mysql_tzikhw-300x212.png?v=1654871163 300w, https://www.zulfumehmet.com/wp-content/uploads/2017/03/mysql_tzikhw-768x543.png?v=1654871163 768w" sizes="(max-width: 982px) 100vw, 982px" /></p>
<p class="brush: shell; gutter: true">Uzaktan erişim sağladık. Kolay gelsin.</p>
<p>The post <a href="https://www.zulfumehmet.com/mysql-uzaktan-erisime-acmak/">MySQL Server&#8217;e Uzaktan Erişime Açmak</a> appeared first on <a href="https://www.zulfumehmet.com">Zülfü Mehmet</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.zulfumehmet.com/mysql-uzaktan-erisime-acmak/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
			</item>
		<item>
		<title>PhpMyAdmin Forbidden Hatası</title>
		<link>https://www.zulfumehmet.com/phpmyadmin-forbidden-hatasi/</link>
					<comments>https://www.zulfumehmet.com/phpmyadmin-forbidden-hatasi/#respond</comments>
		
		<dc:creator><![CDATA[Zülfü Mehmet ÖZÇİFÇİ]]></dc:creator>
		<pubDate>Mon, 27 Mar 2017 20:09:22 +0000</pubDate>
				<category><![CDATA[Bilgisayar]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[Forbidden]]></category>
		<category><![CDATA[hata]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[phpmyadmin]]></category>
		<guid isPermaLink="false">https://www.zulfumehmet.com/?p=1235</guid>

					<description><![CDATA[<p>Linux işletim sistemine Web uygulaması geliştirmek için en çok kurulan uygulamalardan olan Apache, Mysql, Pph ve Mysql erişebilmek içi PhpMyAdmin. Ama çoğu zaman kurulum bittikten sonra PhpMyAdmine erişim sağlamak istediğinizde aşağıdaki hatayla karşılaşıyorsunuz. Forbidden  You don&#8217;t have permission to access /phpmyadmin on this server. Bunun çözümünü Centos 6.X için Tıklayınız. Centos 7 için ise aşağıdaki değişiklikleri yapmanız &#8230; <a href="https://www.zulfumehmet.com/phpmyadmin-forbidden-hatasi/" class="more-link">Continue reading <span class="screen-reader-text">PhpMyAdmin Forbidden Hatası</span></a></p>
<p>The post <a href="https://www.zulfumehmet.com/phpmyadmin-forbidden-hatasi/">PhpMyAdmin Forbidden Hatası</a> appeared first on <a href="https://www.zulfumehmet.com">Zülfü Mehmet</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Linux işletim sistemine Web uygulaması geliştirmek için en çok kurulan uygulamalardan olan Apache, Mysql, Pph ve Mysql erişebilmek içi PhpMyAdmin. Ama çoğu zaman kurulum bittikten sonra PhpMyAdmine erişim sağlamak istediğinizde aşağıdaki hatayla karşılaşıyorsunuz.<br />
<script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><br />
<!-- Makale_ici --><br />
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1000738755084616"
     data-ad-slot="2280084802"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins><br />
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></p>
<h3><strong>Forbidden </strong></h3>
<p>You don&#8217;t have permission to access /phpmyadmin on this server.</p>
<p>Bunun çözümünü Centos 6.X için <a href="https://www.zulfumehmet.com/centos-sunucuyu-lamp-phpmyadmin-bind-dns-vsftp-kurulumu/">Tıklayınız</a>. Centos 7 için ise aşağıdaki değişiklikleri yapmanız yeterli olacaktır.</p>
<p>İlk önce PhpMyAdmin conf dosyasını açalım</p>
<pre class="brush: php; title: ; notranslate">nano /etc/httpd/conf.d/phpMyAdmin.conf</pre>
<p>Aşağıdaki kodlar ile ilgili kısımları ister silip bunu yapıştır; isterseniz de değiştiriniz.</p>
<pre class="brush: php; title: ; notranslate">&lt;Directory /usr/share/phpMyAdmin/&gt;
   AddDefaultCharset UTF-8
 
   &lt;IfModule mod_authz_core.c&gt;
     # Apache 2.4
     &lt;RequireAny&gt;
       #Require ip 127.0.0.1
       #Require ip ::1
       Require all granted
     &lt;/RequireAny&gt;
   &lt;/IfModule&gt;
   &lt;IfModule !mod_authz_core.c&gt;
     # Apache 2.2
     Order Deny,Allow
     Deny from All
     Allow from 127.0.0.1
     Allow from ::1
   &lt;/IfModule&gt;
&lt;/Directory&gt;
 
&lt;Directory /usr/share/phpMyAdmin/setup/&gt;
   &lt;IfModule mod_authz_core.c&gt;
     # Apache 2.4
     &lt;RequireAny&gt;
       #Require ip 127.0.0.1
       #Require ip ::1
       Require all granted
     &lt;/RequireAny&gt;
   &lt;/IfModule&gt;
   &lt;IfModule !mod_authz_core.c&gt;
     # Apache 2.2
     Order Deny,Allow
     Deny from All
     Allow from 127.0.0.1
     Allow from ::1
   &lt;/IfModule&gt;
&lt;/Directory&gt;</pre>
<p>Conf dosyasını kaydetikten sonra httpd resetleyelim</p>
<pre class="brush: php; title: ; notranslate">systemctl restart httpd</pre>
<p>PhpMyAdmini açmak için tarayıcınızdan httpd://sunucuip/phpmyadmin/ adresini açalım bizi PhpMyAdmin sayfasının karşılaması lazım</p>
<p><img decoding="async" class="alignnone wp-image-1244" src="https://www.zulfumehmet.com/wp-content/uploads/2017/03/phpmyadmin_qjzkrr.png" width="1280" height="772" srcset="https://www.zulfumehmet.com/wp-content/uploads/2017/03/phpmyadmin_qjzkrr.png?v=1654871166 1280w, https://www.zulfumehmet.com/wp-content/uploads/2017/03/phpmyadmin_qjzkrr-300x181.png?v=1654871166 300w, https://www.zulfumehmet.com/wp-content/uploads/2017/03/phpmyadmin_qjzkrr-1024x618.png?v=1654871166 1024w, https://www.zulfumehmet.com/wp-content/uploads/2017/03/phpmyadmin_qjzkrr-768x463.png?v=1654871166 768w, https://www.zulfumehmet.com/wp-content/uploads/2017/03/phpmyadmin_qjzkrr-180x110.png?v=1654871166 180w" sizes="(max-width: 1280px) 100vw, 1280px" /></p>
<p>Eğer hala açılmadıysa son  olarak aşağıdaki komutu kullanıp ardından httpd tekrar resetleyelim</p>
<pre class="brush: php; title: ; notranslate"> ln -s /usr/share/phpmyadmin /var/www/html systemctl restart httpd </pre>
<p>Eğer hata hala devam ediyorsa birde firewallınız açıksa kontrol ediniz yada kapatınız. Kapatmak için</p>
<pre class="brush: php; title: ; notranslate">systemctl disable firewalld</pre>
<p><script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script><br />
<!-- Makale_ici --><br />
<ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-1000738755084616"
     data-ad-slot="2280084802"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins><br />
<script>
(adsbygoogle = window.adsbygoogle || []).push({});
</script></p>
<p>Komutunu kullanabilirsiniz.  Sunucunuz her reboot olduktan sonra firewall aktif olmasını sitemiyorsanız.</p>
<pre class="brush: php; title: ; notranslate">systemctl stop firewalld</pre>
<p>Kolay gelsin.</p>
<p>The post <a href="https://www.zulfumehmet.com/phpmyadmin-forbidden-hatasi/">PhpMyAdmin Forbidden Hatası</a> appeared first on <a href="https://www.zulfumehmet.com">Zülfü Mehmet</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.zulfumehmet.com/phpmyadmin-forbidden-hatasi/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
