<?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>Arquivos mysql8 - Remontti</title>
	<atom:link href="https://blog.remontti.com.br/tag/mysql8/feed" rel="self" type="application/rss+xml" />
	<link>https://blog.remontti.com.br/tag/mysql8</link>
	<description>rudimar@remontti</description>
	<lastBuildDate>Thu, 22 Aug 2019 14:27:00 +0000</lastBuildDate>
	<language>pt-BR</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://blog.remontti.com.br/wp-content/uploads/2024/09/icone-rr-80x80.png</url>
	<title>Arquivos mysql8 - Remontti</title>
	<link>https://blog.remontti.com.br/tag/mysql8</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Como instalar o MySQL 8 Server (Oracle) no Debian 10 Buster</title>
		<link>https://blog.remontti.com.br/3304</link>
					<comments>https://blog.remontti.com.br/3304#comments</comments>
		
		<dc:creator><![CDATA[Rudimar Remontti]]></dc:creator>
		<pubDate>Tue, 30 Jul 2019 20:28:32 +0000</pubDate>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Tutoriais]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[debian 10]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysql 8]]></category>
		<category><![CDATA[mysql8]]></category>
		<guid isPermaLink="false">https://blog.remontti.com.br/?p=3304</guid>

					<description><![CDATA[<p>Desde o lançamento do Debian o mysql foi substituído mariadb. Neste tutorial vamos aprender a fazer a instalação do MySQL A equipe do MySQL Release Engineering fornece repositórios para o Debian 10 Buster incluindo&#46;&#46;&#46;</p>
<p>O post <a href="https://blog.remontti.com.br/3304">Como instalar o MySQL 8 Server (Oracle) no Debian 10 Buster</a> apareceu primeiro em <a href="https://blog.remontti.com.br">Remontti</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" src="https://blog.remontti.com.br/wp-content/uploads/2019/07/debian-10-buster-mysql-8.png" alt="" width="720" height="340" class="alignnone size-full wp-image-3315" srcset="https://blog.remontti.com.br/wp-content/uploads/2019/07/debian-10-buster-mysql-8.png 720w, https://blog.remontti.com.br/wp-content/uploads/2019/07/debian-10-buster-mysql-8-300x142.png 300w, https://blog.remontti.com.br/wp-content/uploads/2019/07/debian-10-buster-mysql-8-520x245.png 520w" sizes="(max-width: 720px) 100vw, 720px" /></p>
<p>Desde o lançamento do Debian o mysql foi substituído mariadb. Neste tutorial vamos aprender a fazer a instalação do MySQL</p>
<p>A equipe do MySQL Release Engineering fornece repositórios para o Debian 10 Buster incluindo o servidor MySQL 8.0.</p>
<p><strong>Requisitos:</strong><br />
&#8211; <a href="https://blog.remontti.com.br/2966" rel="noopener noreferrer" target="_blank">Debian 10 (Instalação limpa)</a></p>
<pre class="remontti-code"># apt install wget gnupg vim apt-transport-https</pre>
<p>Adicione o Repositórios da Oracle.</p>
<pre class="remontti-code"># echo -e &quot;deb http://repo.mysql.com/apt/debian/ buster mysql-8.0\ndeb-src http://repo.mysql.com/apt/debian/ buster mysql-8.0&quot; &gt; /etc/apt/sources.list.d/mysql.list</pre>
<p>Antes de atualizar o repositório você deve adicionar a chave pública.</p>
<pre class="remontti-code"># wget -O /tmp/RPM-GPG-KEY-mysql https://repo.mysql.com/RPM-GPG-KEY-mysql
# apt-key add /tmp/RPM-GPG-KEY-mysql</pre>
<p>Atualizamos o repositório e instalamos o mysql-sever da Oracle</p>
<pre class="remontti-code"># apt update
# apt install mysql-server</pre>
<p>Defina a senha de root do MySQL<br />
<a href="https://blog.remontti.com.br/wp-content/uploads/2019/07/speedtest-debian-10-buster-mysql-8.0.png" data-rel="lightbox-gallery-R8HIt9X7" data-rl_title="" data-rl_caption="" title=""><img decoding="async" src="https://blog.remontti.com.br/wp-content/uploads/2019/07/speedtest-debian-10-buster-mysql-8.0-300x158.png" alt="" width="300" height="158" class="alignnone size-medium wp-image-3306" srcset="https://blog.remontti.com.br/wp-content/uploads/2019/07/speedtest-debian-10-buster-mysql-8.0-300x158.png 300w, https://blog.remontti.com.br/wp-content/uploads/2019/07/speedtest-debian-10-buster-mysql-8.0-768x405.png 768w, https://blog.remontti.com.br/wp-content/uploads/2019/07/speedtest-debian-10-buster-mysql-8.0-1024x540.png 1024w, https://blog.remontti.com.br/wp-content/uploads/2019/07/speedtest-debian-10-buster-mysql-8.0.png 1600w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<p>No MySQL 8 a autenticação é diferente de seus antecessores, e até o momento não é reconhecido pelo PHP 7, o que gera o erro &#8220;<em>The server requested authentication method unknown to the client</em>&#8221; ao tentar conectar-se. </p>
<p>A não ser que você realmente saiba o que esta fazendo selecione : <strong>Use Legacy Authentication Method (Retain MySQL 5.x Compatibility)</strong><br />
<a href="https://blog.remontti.com.br/wp-content/uploads/2019/07/speedtest-debian-10-buster-mysql-8.0-legacy.png" data-rel="lightbox-gallery-R8HIt9X7" data-rl_title="" data-rl_caption="" title=""><img decoding="async" src="https://blog.remontti.com.br/wp-content/uploads/2019/07/speedtest-debian-10-buster-mysql-8.0-legacy-300x169.png" alt="" width="300" height="169" class="alignnone size-medium wp-image-3309" srcset="https://blog.remontti.com.br/wp-content/uploads/2019/07/speedtest-debian-10-buster-mysql-8.0-legacy-300x169.png 300w, https://blog.remontti.com.br/wp-content/uploads/2019/07/speedtest-debian-10-buster-mysql-8.0-legacy-768x432.png 768w, https://blog.remontti.com.br/wp-content/uploads/2019/07/speedtest-debian-10-buster-mysql-8.0-legacy-1024x576.png 1024w, https://blog.remontti.com.br/wp-content/uploads/2019/07/speedtest-debian-10-buster-mysql-8.0-legacy.png 1600w" sizes="(max-width: 300px) 100vw, 300px" /></a></p>
<h4>Aumentando a segurança do Mysql</h4>
<pre class="remontti-code"># mysql_secure_installation</pre>
<p>Defina o nível de segurança de acordo com suas necessidades.</p>
<pre class="remontti-code">Securing the MySQL server deployment.

Enter password for user root: 

VALIDATE PASSWORD COMPONENT can be used to test passwords
and improve security. It checks the strength of password
and allows the users to set only those passwords which are
secure enough. Would you like to setup VALIDATE PASSWORD component?

Press y|Y for Yes, any other key for No: Y

There are three levels of password validation policy:

LOW    Length &gt;= 8
MEDIUM Length &gt;= 8, numeric, mixed case, and special characters
STRONG Length &gt;= 8, numeric, mixed case, special characters and dictionary                  file

Please enter 0 = LOW, 1 = MEDIUM and 2 = STRONG: 2
Using existing password for root.

Estimated strength of the password: 50 
Change the password for root ? ((Press y|Y for Yes, any other key for No) : 

 ... skipping.
By default, a MySQL installation has an anonymous user,
allowing anyone to log into MySQL without having to have
a user account created for them. This is intended only for
testing, and to make the installation go a bit smoother.
You should remove them before moving into a production
environment.

Remove anonymous users? (Press y|Y for Yes, any other key for No) : Y
Success.


Normally, root should only be allowed to connect from
&#039;localhost&#039;. This ensures that someone cannot guess at
the root password from the network.

Disallow root login remotely? (Press y|Y for Yes, any other key for No) : Y
Success.

By default, MySQL comes with a database named &#039;test&#039; that
anyone can access. This is also intended only for testing,
and should be removed before moving into a production
environment.


Remove test database and access to it? (Press y|Y for Yes, any other key for No) : Y
 - Dropping test database...
Success.

 - Removing privileges on test database...
Success.

Reloading the privilege tables will ensure that all changes
made so far will take effect immediately.

Reload privilege tables now? (Press y|Y for Yes, any other key for No) : Y
Success.

All done! </pre>
<p>Dica.<br />
Se você for fazer a instalação do phpMyAdmin crie o usuario da seguinte forma:</p>
<pre class="remontti-code">CREATE DATABASE phpmyadmin CHARACTER SET utf8 collate utf8_bin;
CREATE USER &#039;pma&#039;@&#039;localhost&#039; IDENTIFIED BY &#039;SUA_SENHA&#039;;
GRANT ALL PRIVILEGES ON phpmyadmin.* TO &#039;pma&#039;@&#039;localhost&#039; WITH GRANT OPTION;
FLUSH PRIVILEGES;
EXIT;</pre>
<p>Parabéns! Você concluiu! Gostou?</p>
<p><center><strong>Se quiser fazer uma doação para o café ficarei muito feliz pelo seu reconhecimento!</strong><br />
<a href="https://blog.remontti.com.br/doar"><img decoding="async" src="https://blog.remontti.com.br/wp-content/uploads/2019/07/quero-doar-remontti.png" /></a></center></p>
<p>Se não puder doar pode deixar seu agradecimento nos comentário também ficarei feliz em saber que ajudei. Se tiver qualquer pergunta deixe-a também. Se preferir entrar em Contato <a href="https://blog.remontti.com.br/meucontato" rel="noopener noreferrer" target="_blank">clique aqui.</a></p>
<p>Abraço!</p>
<p>O post <a href="https://blog.remontti.com.br/3304">Como instalar o MySQL 8 Server (Oracle) no Debian 10 Buster</a> apareceu primeiro em <a href="https://blog.remontti.com.br">Remontti</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.remontti.com.br/3304/feed</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
	</channel>
</rss>
