当前位置:网站首页>首次在我们的centos上安装MySQL
首次在我们的centos上安装MySQL
2022-08-10 01:00:00 【把星星枕在床边】
①、首先我们在官网下载相应的mysql安装包(tar.gz结尾的)
②、通过我们的WinSCP将该安装包发送到我们的centos系统上。
③、如果我们是第一次安装,由于我们centos系统自带的MariaDB会与我们所安装的mysql起冲突,我们就需要先将我们的MariaDB卸载
查询我们的Maraidb:
rpm -qa|grep maraidb
卸载:”
rpm -e --nodeps 软件名称
解压我们的tar.gz压缩包:
tar -zxvf 压缩包
解压后我们会有6个rpm包,我们也需要对他们按照一定的顺序进行解压,如果不按照顺序,可能会报错,是因为他们之间可能存在依赖的问题
需要注意的是我们安装Server时,需要工具net-tools否则会报错
启动我们的mysql服务:
①、查看我们的mysql服务状态:systemctl status mysql
②、启动我们的mysql服务:Systemtl start mysqld
查看我们的启动的服务:
边栏推荐
- 空间复杂度为O(1)的归并排序
- Chip Information|Semiconductor revenue growth expected to slow to 7%, Bluetooth chip demand still growing steadily
- 【UNR #6 C】稳健型选手(分治)(主席树)(二分)
- 365 days challenge LeetCode1000 questions - Day 052 Step by step summation to get the minimum value of positive numbers Greedy
- 【wpf】拖拽的简单实现
- C language pointer practice questions
- 【软考软件评测师】软件测试基础知识
- y92.第六章 微服务、服务网格及Envoy实战 -- Envoy基础(三)
- 【wpf】自定义事件总结(Action, EventHandler)
- 【ROS2原理10】Interface数据的规定
猜你喜欢

数据建模已死,真的吗?

Initial attempt at UI traversal

Experimental support for decorators may change in future releases.Set the "experimentalDecorators" option in "tsconfig" or "jsconfig" to remove this warning

2022金九银十工作潮,怎么样才能成功跳槽面试拿到高薪呢?

使用 GoogleTest 框架对 C 代码进行单元测试

C# 四舍五入 MidpointRounding.AwayFromZero

In the 2022 gold, nine, silver and ten work tide, how can I successfully change jobs and get a high salary?

手把手教你编写性能测试用例

初步认识对象

assert利用蚁剑登录
随机推荐
3438. 数制转换
R语言使用glm函数构建逻辑回归模型(logistic)、使用subgroupAnalysis函数进行亚组分析并可视化森林图
OOD论文:Revisit Overconfidence for OOD Detection
GB28181 sip和RTSP(Real-Time Streaming Protocol)实时流控制协议
C语言头文件组织与包含原则
彩色袜子题
Pagoda measurement - building LightPicture open source map bed system
【报错】ModuleNotFoundError: No module named ‘paramiko‘
商业模式及其 SubDAO 深入研究
鲜花线上销售管理系统的设计与实现
pyhton之问~~~~~if __name__ == ‘__main__‘:是什么?
OSS-访问oss生成的url无法访问,直接下载问题
Unity image is blurry after using long image
小程序中计算距离信息
DHCP——动态主机配置协议
SonarQube升级记录:7.8->7.9->8.9
FILE结构体在stdio.h头文件源码里的详细代码
-red and black-
手把手教你编写性能测试用例
解决sed替换文本,里面含有“/“、“#”等特殊字符的问题