1.到MySQL官网找到相应的版本 https://dev.mysql.com/downloads/repo/yum/ 找到下面的Linux7,即CentOS7(CentOS是Red Hat旗下的)点击download 跳转页面后会显示[No thanks, just start my download.](https://dev.mysql.com/get/mysql80-community-release-el7-2.noarch.rpm)右键复制链接或者直接下载到本地然后通过相应工具上传到…
https://blog.csdn.net/smiles13/article/details/81460617 (部分参考) 先查看是否安装mariadb rpm -qa | grep mariadb 卸载 rpm -e --nodeps mariadb-libs-5.5.60-1.el7_5.x86_64 报错处理: 初始化错误: (1) [ERROR] --initialize specified but the data directory has files in it. A…
1.安装 1.查看yum列表,发现没有mysql [root@server-mysql src]# yum list mysql 已加载插件:fastestmirror Repodata is over 2 weeks old. Install yum-cron? Or run: yum makecache fast Loading mirror speeds from cached hostfile * base: centos.ustc.edu.cn * extras: centos.ust…