![cover](/upload/scenery/tupian_1086.jpg)
yum 安装mysql
1、直接拉官网安装包
1、wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
2、rpm -ivh mysql-community-release-el7-5.noarch.rpm
3、yum install mysql-community-server
2、成功安装之后重启mysql服务
systemctl restart mysqld
3、设置密码
mysql -uroot
mysql> set password for ‘root’@‘localhost’ = password('mypasswd');
mysql> exit
本文是原创文章,转载请注明来自 知识殿堂
评论
匿名评论
隐私政策
你无需删除空行,直接评论以获取最佳展示效果