当前位置:网站首页>CentOS 7X 安装Mysql 数据库
CentOS 7X 安装Mysql 数据库
2022-07-13 18:07:00 【LED_H】
CentOS 7 安装Mysql 数据库
1、查看Mariadb 软件包:
yum list |grep mariadb
2、安装Mariadb的所有软件包:
yum install -y mariadb mariadb-bench mariadb-devel mariadb-embedded mariadb-libs mariadb-server mariadb-test.x86_64

3、开启Mysql数据库服务:
service mariadb start

加入开机启动项

设置mysql数据库root密码:
mysqladmin -u root password “密码”
4、输入:mysql -u root -p 进入mysql数据库
5、mysql常用命令:
添加链接描述
边栏推荐
- Fundamentals of information security
- Setting the login interface in JMeter can only be called once
- Longest ascending subsequence longest common subsequence maximum field and longest non repeating subsequence
- RAID disk array
- MATPLOTLIB—fail to allocate bitmap
- “终于我从字节离职了...“一个年薪40W的测试工程师的自白..
- Principle and configuration of static routing
- Data storage and disaster recovery (2nd Edition) editor in chief Lu Xianzhi Wu Chunling comprehensive training answer
- Five years' experience: the monthly salary is 3000 to 30000, and the change of Test Engineers
- BeautifulSoup4总结
猜你喜欢

2-3树 B树 b+树

A man with an annual salary of 35W was dismissed from the test, and his words were thought-provoking

01 knapsack filling form implementation

爬虫——有道翻译

基于SonarQube代码质量检查

Looking at "money" ~ the experience of a tester with two years' graduation and an annual salary of 30W

unittest一站式学习

还在用策略模式解决 if-else?Map+函数式接口方法才是YYDS

Unittest one stop learning

程序猿专属“压测工具”并发模拟
随机推荐
Still using enumeration in MySQL? Pay attention to these traps!
Unittest one stop learning
自动备份MySQL。且保留7天案例
Idea annotation template, such configuration is enough!
Redis master-slave cluster construction and sentinel mode configuration
Volatile final explanation
Interface test and interface test automation
RAID磁盘阵列
Thread pool and producer consumer model
Longest ascending subsequence longest common subsequence maximum field and longest non repeating subsequence
A few lines of code can realize complex excel import and export. This tool class is really powerful!
快速幂求解a^b%p
druid数据库连接池监控页面
Use redis' sorted set to make weekly hot reviews
Alipay computer website payment
Attack and defense World Web
边缘计算 KubeEdge+EdgeMash
LVM与磁盘配额
Principle and configuration of static routing
How to apply @transactional transaction annotation to perfection?