mysql opens remote Connection of mysql opens remote access

  • 2020-06-03 08:38:00
  • OfStack


// Recommended fixed setting IP
mysql> GRANT ALL PRIVILEGES ON *.* TO root@"8.8.8.8" IDENTIFIED BY "root";
mysql> flush privileges;
// Modify the firewall 
iptables -I INPUT -p tcp --dport 3306 -j ACCEPT


Related articles: