当前位置:网站首页>MySQL installation steps - installing MySQL on Linux (3)
MySQL installation steps - installing MySQL on Linux (3)
2022-06-28 06:59:00 【Xiaobinbin &】
The premise is to install the virtual machine again and again , It's already configured jdk Installation package , And configure the environment variables ( There are installation steps in my blog )
linux How to create a virtual machine _abcdef_12a The blog of -CSDN Blog
linux The configuration file jdk install _abcdef_12a The blog of -CSDN Blog
Installation that needs to be prepared in advance
The installation steps are as follows
1、cd /softs Enter folder , Put the prepared installation package into this folder
2、 Input yum install -y net-tools perl autoconf
Install dependency packages net-tools perl sutoconf
Wait for installation to complete
3、 Input rpm -ivh MySQL-client-5.6.46-1.el7.x86_64.rpm Install client
4、 Input rpm -qa | grep mariadb Inquire about mariadb
5、 Input rpm -e mariadb-libs-5.5.60-1.el7_5.x86_64 --nodeps Delete mariadb package
6、 Input rpm -ivh MySQL-server-5.6.46-1.el7.x86_64.rpm Install server
7、 Input cat /root/.mysql_secret View the default password , It needs to be recorded here , Used to change the password later
8、 Input service mysql start
start-up mysql service See the following tips , Congratulations on your success
Haven't seen , You can only override the configuration
9、 Input mysql -uroot -p password p Followed by the password you just asked to remember ,
This instruction is used to modify mysql The login password
10、 Input set password=password('123') 123 Is the password set , Here you can set it according to your needs
边栏推荐
- 最后的二十九天
- 【网络教程】IPtables官方教程--学习笔记1
- Will Internet talents be scarce in the future? Which technology directions are popular?
- From the beginning of redis learning to take-off, this article is all for you
- [C language] detailed explanation of C language to obtain array length
- Libuv框架echo-server.c源码详解(TCP部分)
- @RequestParam
- VM332 WAService. js:2 Error: _ vm. Changetabs is not a function
- What if the applet page is set to 100% height or left blank?
- What is a consistent hash? What scenarios can it be applied to?
猜你喜欢
随机推荐
JDBC learning (I) -- implementing simple CRUD operations
Triode driven brushless motor
全方位透析真实企业软件测试流程
编译配置in文件
华为云计算之物理节点CNA安装教程
Wechat applets - basics takes you to understand the life cycle of applets (I)
炒股开户在手机上安全吗?
My MVVM open source project "travel epidemic prevention app" has been released
extern “C“概述
微信小程序分页功能,下拉刷新功能,直接干货拿来就用
推荐几款0代码、免费、现学现用的可视化工具
Last 29 days
Overview, implementation and use of CRC32
BACnet/IP网关如何采集楼宇集中控制系统数据
JS of learning notes -- split(), replace(), join()
CMAKE小知识
CRC32概述以及实现和使用
【Rust翻译】从头实现Rust异步执行器
编译原理期末复习
redis的入门学习到起飞,就这一篇搞定