<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=MYSQL_SETUP</id>
	<title>MYSQL SETUP - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://w.electrodragon.com/w/index.php?action=history&amp;feed=atom&amp;title=MYSQL_SETUP"/>
	<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=MYSQL_SETUP&amp;action=history"/>
	<updated>2026-06-04T22:24:49Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.37.2</generator>
	<entry>
		<id>https://w.electrodragon.com/w/index.php?title=MYSQL_SETUP&amp;diff=26299&amp;oldid=prev</id>
		<title>Chao at 16:31, 7 May 2020</title>
		<link rel="alternate" type="text/html" href="https://w.electrodragon.com/w/index.php?title=MYSQL_SETUP&amp;diff=26299&amp;oldid=prev"/>
		<updated>2020-05-07T16:31:05Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;=== For remote access MYSQL8 ===&lt;br /&gt;
* CREATE USER 'root'@'%' IDENTIFIED BY '123';&lt;br /&gt;
* GRANT ALL PRIVILEGES ON *.* TO 'root'@'%';&lt;br /&gt;
* flush privileges;&lt;br /&gt;
=== Set remote login for Adminer ===&lt;br /&gt;
* ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password BY 'password';&lt;br /&gt;
&lt;br /&gt;
=== For remote access MYSQL5 ===&lt;br /&gt;
* nano /etc/mysql/my.cnf &lt;br /&gt;
* comment bind-address           = 127.0.0.1&lt;br /&gt;
* Check netstat -an|grep 3306&lt;br /&gt;
&lt;br /&gt;
GRANT ALL PRIVILEGES ON *.* TO 'USERNAME'@'IP' IDENTIFIED BY 'PASSWORD' with grant option;&lt;br /&gt;
* . for all databases&lt;br /&gt;
* USERNAME can change to root&lt;br /&gt;
* IP can use %, or specific IP address&lt;br /&gt;
* PASSWORD need to be changed&lt;br /&gt;
* example &lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! Header text !! Header text !! Header text&lt;br /&gt;
|-&lt;br /&gt;
| Example || Example || Example&lt;br /&gt;
|-&lt;br /&gt;
| Example || GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'new-password' with grant option; || Example&lt;br /&gt;
|-&lt;br /&gt;
| Example ||  GRANT ALL PRIVILEGES ON *.* TO 'root'@'%' IDENTIFIED BY 'password' WITH GRANT OPTION; || Example&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
flush privileges;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
[[category: MYSQL]]&lt;/div&gt;</summary>
		<author><name>Chao</name></author>
	</entry>
</feed>