当前位置:网站首页>CentOS系统安装MySQL数据库
CentOS系统安装MySQL数据库
2022-07-13 18:16:00 【Champion-Dai】
1 安装MySQL yum源
# wget https://dev.mysql.com/get/mysql80-community-release-el7-3.noarch.rpm
# yum install mysql80-community-release-el7-3.noarch.rpm
2 安装MySQL
# yum install mysql-community-server
安装完成
3 启动MySQL
# service mysqld start
查看是否启动成功
# ps -ef | grep mysql
4 进入MySQL数据库
查看mysql root用户密码
# grep 'temporary password' /var/log/mysqld.log
进入数据库
# mysql -uroot -p
输入密码
5 MySQL服务启动、停止、重启
# service mysqld start
# service mysqld stop
# service mysqld restart
边栏推荐
- Heterogeneous computing - heterogeneous chip convergence trend
- Kubernetes Dashboard
- Flutter RaisedButton怎样禁用
- London Metal real-time market and operation skills
- RT based_ Sensor framework of distributed wireless temperature monitoring system based on thread
- 《天天数学》连载59:二月二十八日
- Prism navigation function
- ora-01153
- 一、mysql的安装部署
- 【每日一题】在二叉树中找到两个节点的最近公共祖先
猜你喜欢

MallBook:如何通过供应链结算管理系统推动供应链金融快速落地?

失业一年,学做跨境电商赚了52万,才知道:上班是真的耽误赚钱 !
![[U - boot] u - boot Sandbox compilation Construction and use Summary](/img/5f/92d0a1937230d00b4068d65a5a6c29.png)
[U - boot] u - boot Sandbox compilation Construction and use Summary

深入浅出 eBPF|你要了解的 7 个核心问题

【每日一题】在二叉树中找到两个节点的最近公共祖先

Baidu upload webuploader

Mallbook: how to promote the rapid implementation of supply chain finance through the supply chain settlement management system?

C # use mqtt communication

小程序毕设作品之微信教室预约小程序毕业设计(4)开题报告

一位 sealer maintainer 的心路历程
随机推荐
C primer plus学习笔记 —— 4、文件IO(输入/输出)
[u-boot] summary of compilation, construction and use of u-boot sandbox
C # use mqtt communication
【u-boot】u-boot Sandbox編譯構建和使用總結
Leetcode 15. 三数之和
CPU及内存占用过高,如何修改RTSP轮巡检测参数以降低服务器消耗?
命令提示符查看某端口占用情况,并清除占用
FreeBSD bnxt以太网驱动源码阅读记录。
力扣 719. 找出第 K 小的数对距离
C primer plus learning notes - 4. File IO (input / output)
高薪程序员&面试题精讲系列123之Redis有哪些新特性?Redis的多线程特性你了解吗?
【每日一题】判断是不是平衡二叉树
记一次UI自动化导致APP未响应问题
Wechat applet development - (V) pop up box
可观测|时序数据降采样在Prometheus实践复盘
对比MySQL和Pandas统计直播间各时间段上线人数
Dart中的库
使用cpolar建立一个商业网站(申请网站安全证书)
Shutter air safety
Prism publish subscription