在CENTOS Linux上安装 MySQL数据库
1. 安装 MySQL(其实MariaDB更好):https://www.rosehosting.com/blog/how-to-install-mysql-on-centos-7/
2. 改变Authentication 方式:MySQL 8.0报错:error 2059: Authentication plugin 'caching_sha2_password' cannot be loaded
3. Create grant all privileges on *.* to 'root'@'%'; #建立用户(可以从任何机器来发过来连接),提升权限
ALTER USER 'root'@'%' IDENTIFIED BY '****password****'; #改变密码
flush priviledges
quit
sudo systemctl restart mysqld