mysql官网:https://dev.mysql.com/downloads/
Windows setup:
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\EventLog\Application
HKEY_LOCAL_MACHINE\SYSTEM\ControlSet001\Services\EventLog\Application
HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services
https://support.microsoft.com/zh-cn/help/2977003/the-latest-supported-visual-c-downloads
Ubuntu firewall setup:
sudo ufw status|sudo ufw enable|sudo ufw allow/deny [service]
Redhat firewall setup:
firewall-cmd --add-service=mysql --permanent
firewall-cmd --reload
Redhat service add/remove/contorl:
chkconfig --add/del mysqld
chkconfig mysqld on
chkconfig --list mysqld
groupadd mysql
useradd -r -g mysql -s /bin/false mysql
mkdir mysql-files
chown mysql:mysql mysql-files
chmod 750 mysql-files
bin/mysqld --initialize --user=mysql
bin/mysql_ssl_rsa_setup
cp support-files/mysql.server /etc/init.d/mysqld
chkconfig --add mysqld
chkconfig mysqld on
service mysqld start