centos7下yum安装mysql
来源:互联网 发布:淘宝名店 编辑:程序博客网 时间:2024/05/16 02:51
CentOS 7的yum源中貌似没有正常安装mysql时的mysql-sever文件,需要去官网上下载
# wget http://dev.mysql.com/get/mysql-community-release-el7-5.noarch.rpm
# rpm -ivh mysql-community-release-el7-5.noarch.rpm
# yum install mysql-community-server
成功安装之后重启mysql服务
# service mysqld restart
初次安装mysql是root账户是没有密码的
设置密码的方法
# mysql -uroot
mysql> set password for ‘root’@‘localhost’ = password('mypasswd');
mysql> exit
搞定!
转自:http://www.centoscn.com/mysql/2014/0919/3778.html
阅读全文
0 0
- centos7下yum安装mysql
- centos7下yum安装mysql
- centos7下yum安装mysql
- centos7下yum安装mysql
- centos7下yum安装mysql
- centos7下yum安装mysql
- CentOS7下yum安装MySQL
- centos7下yum安装mysql
- centos7下yum安装mysql
- centos7下yum安装mysql
- centos7下yum安装mysql
- centos7下安装mysql(yum)
- centos7下快速安装mysql-yum安装
- Linux centos7下yum安装mysql
- centos7下使用yum安装mysql
- centos7下使用yum安装mysql
- centos7下使用yum安装mysql
- centos7下使用yum安装mysql
- Android 屏幕适配:最全面的解决方案
- 欢迎使用CSDN-markdown编辑器
- [Noi2008]假面舞会
- elasticsearch集群管理工具head插件
- python的魔法方法
- centos7下yum安装mysql
- 学习总结-Thinking In Java Chapter 8 polymorphism
- 各种编程语言简介
- Python 3.X重新加载模块
- OSG数学基础:坐标系统
- Blue Jeans POJ 3080 (串)
- Git Basic
- 创建型模式前奏之简单工厂模式
- [机房练习赛7.11]graph