请打开【VMware Workstation Pro】中的【linux1】环境,登录账号【root】密码【root】
搭建MySQL运行环境
删除MySQL依赖的libs包
cd /opt/soft
yum install net-tools -y
yum install perl* -y
yum remove mysql-libs -y
安装MySQL的服务器与安装MySQL的客户端
rpm -ivh MySQL-server-5.1.73-1.glibc23.x86_64.rpm
rpm -ivh MySQL-client-5.1.73-1.glibc23.x86_64.rpm
登录MySQL并修改MySQL密码,给与MySQL的master权限,刷新MySQL权限并退出MySQL
mysql -u root
set password for 'root'@'localhost' =password('123456');
grant all privileges on *.* to 'root'@'master' identified by '123456';
flush privileges;
exit;