<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Linux Forum &mdash; Открыть доступ к mysql из вне]]></title>
	<link rel="self" href="https://linuxforum.ru/extern.php?action=feed&amp;tid=38383&amp;type=atom" />
	<updated>2017-01-31T07:09:37Z</updated>
	<generator>PunBB</generator>
	<id>https://linuxforum.ru/viewtopic.php?id=38383</id>
		<entry>
			<title type="html"><![CDATA[Re: Открыть доступ к mysql из вне]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=451561#p451561" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>XliN пишет:</cite><blockquote><p>А чем это поможет? DMZ по сути выкинуть доступ на все порты наружу.</p></blockquote></div><p>да как ТС удобно, пусть так и делает. :-)</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2017-01-31T07:09:37Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=451561#p451561</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Открыть доступ к mysql из вне]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=451553#p451553" />
			<content type="html"><![CDATA[<p>Всем спасибо за ответы.Все получилось. <img src="https://linuxforum.ru/img/smilies/ab.gif" alt="ab" /></p>]]></content>
			<author>
				<name><![CDATA[5artizan]]></name>
				<uri>https://linuxforum.ru/profile.php?id=30337</uri>
			</author>
			<updated>2017-01-31T04:24:07Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=451553#p451553</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Открыть доступ к mysql из вне]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=451534#p451534" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>i2ks пишет:</cite><blockquote><p>да здесь лучше сделать все вообще в dmz</p></blockquote></div><p>А чем это поможет? DMZ по сути выкинуть доступ на все порты наружу.</p>]]></content>
			<author>
				<name><![CDATA[XliN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6412</uri>
			</author>
			<updated>2017-01-30T19:35:35Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=451534#p451534</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Открыть доступ к mysql из вне]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=451503#p451503" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>XliN пишет:</cite><blockquote><p>И лучше еще сменить стандартный порт на другой.</p></blockquote></div><p>да здесь лучше сделать все вообще в dmz, а для web-frontend просто с наружи сделать проброс на 80й порт.<br />Если конечно же речь идет о веб ресурсах и т.д..</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2017-01-30T11:27:04Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=451503#p451503</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Открыть доступ к mysql из вне]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=451494#p451494" />
			<content type="html"><![CDATA[<div class="quotebox"><cite>i2ks пишет:</cite><blockquote><p>bind-address&nbsp; &nbsp; = 0.0.0.0<br />port = 3306</p></blockquote></div><p>И лучше еще сменить стандартный порт на другой.</p>]]></content>
			<author>
				<name><![CDATA[XliN]]></name>
				<uri>https://linuxforum.ru/profile.php?id=6412</uri>
			</author>
			<updated>2017-01-30T10:05:26Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=451494#p451494</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Открыть доступ к mysql из вне]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=451477#p451477" />
			<content type="html"><![CDATA[<p>надо добавить в секцию mysqld строчку</p><p>bind-address&nbsp; &nbsp; = 0.0.0.0<br />port = 3306</p><p>будет работать на всех интерфейсах + разрешить в iptables необходимые порты и ip адреса откуда будет происходить соединение.</p>]]></content>
			<author>
				<name><![CDATA[i2ks]]></name>
				<uri>https://linuxforum.ru/profile.php?id=16</uri>
			</author>
			<updated>2017-01-30T06:25:22Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=451477#p451477</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Открыть доступ к mysql из вне]]></title>
			<link rel="alternate" href="https://linuxforum.ru/viewtopic.php?pid=451471#p451471" />
			<content type="html"><![CDATA[<p>OS CentOS 7.На компе утсановлен mysql сервер версия 5.6.35.Настройки my.cnf следующие:<br /></p><div class="codebox"><pre><code># For advice on how to change settings please see
# http://dev.mysql.com/doc/refman/5.6/en/server-configuration-defaults.html

[mysqld]
#
# Remove leading # and set to the amount of RAM for the most important data
# cache in MySQL. Start at 70% of total RAM for dedicated server, else 10%.
# innodb_buffer_pool_size = 128M
#
# Remove leading # to turn on a very important data integrity option: logging
# changes to the binary log between backups.
# log_bin
#
# Remove leading # to set options mainly useful for reporting servers.
# The server defaults are faster for transactions and fast SELECTs.
# Adjust sizes as needed, experiment to find the optimal values.
# join_buffer_size = 128M
# sort_buffer_size = 2M
# read_rnd_buffer_size = 2M
datadir=/var/lib/mysql
socket=/var/lib/mysql/mysql.sock

# Disabling symbolic-links is recommended to prevent assorted security risks
symbolic-links=0

# Recommended in standard MySQL setup
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES


[mysqld_safe]
log-error=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid</code></pre></div><p>MySQL слушает сокет.netstat -nap | grep mysql:<br /></p><div class="codebox"><pre><code>unix  2      [ ACC ]     STREAM     LISTENING     21080320 -                    /var/lib/mysql/mysql.sock</code></pre></div><p>Доступа из вне к MySQL нет.Как открыть доступ?</p>]]></content>
			<author>
				<name><![CDATA[5artizan]]></name>
				<uri>https://linuxforum.ru/profile.php?id=30337</uri>
			</author>
			<updated>2017-01-30T01:48:15Z</updated>
			<id>https://linuxforum.ru/viewtopic.php?pid=451471#p451471</id>
		</entry>
</feed>
