当前位置:网站首页>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
![]()
边栏推荐
- Promotion intégrale et ordre des octets de fin de taille
- Yolov5 adds a small target detection layer
- Triode driven brushless motor
- Techo Day 腾讯技术开放日,6月28日线上等你!
- Extern "C" overview
- BACnet/IP网关如何采集楼宇集中控制系统数据
- 什么是一致性哈希?可以应用在哪些场景?
- 小小一款代码编辑器竟然也可以有程序运行之功能——Sublime Text3运行各种语言程序的总结
- Voice network VQA: make the user's subjective experience of unknown video quality in real-time interaction known
- [digital statistics DP] counting problem
猜你喜欢
面经---测试工程师web端自动化---大厂面试题

Promotion intégrale et ordre des octets de fin de taille

Freeswitch使用originate转dialplan

LeetCode+ 51 - 55 回溯、动态规划专题

FPGA - 7系列 FPGA SelectIO -07- 高级逻辑资源之ISERDESE2

How bacnet/ip gateway collects data of building centralized control system

全方位透析真实企业软件测试流程

编译配置in文件

强化学习——格子世界

LeetCode+ 66 - 70 高精度、二分专题
随机推荐
Promotion intégrale et ordre des octets de fin de taille
FPGA - 7 Series FPGA selectio -08- oserdese2 of advanced logic resources
编译原理期末复习
pytorch RNN 学习笔记
js正则表达式系统讲解(全面的总结)
MySQL (I) - Installation
Some habits of it veterans in the workplace
UPC -- expression evaluation
Call interface event API common event methods
What if the applet page is set to 100% height or left blank?
How to open UMD, KMD log and dump diagrams in CAMX architecture
My MVVM open source project "travel epidemic prevention app" has been released
Libuv框架echo-server.c源码详解(TCP部分)
Eyebeam advanced settings
Linked list (II) - Design linked list
图片按日期批量导入WPS表格
Recommend 10 popular jupyter notebook plug-ins to make you fly efficiently
Face to face experience --- test engineer web side automation --- interview questions for large factories
Wechat applet paging function, pull-down refresh function, direct dry goods
"Jay bear" plummeted by 96.6%. Why is NFT with star goods cold?