当前位置:网站首页>Centos7 deploying MySQL environment
Centos7 deploying MySQL environment
2022-06-21 12:36:00 【2022 Chongya】
1. Download from the official website mysql Installation package , Official website address https://dev.mysql.com/
This use mysql-5.7.19-linux-glibc2.12-x86_64.tar.gz Installation
2. Put the installation package in /usr/local below , And extract the
tar -xvf mysql-5.7.19-linux-glibc2.12-x86_64.tar.gz
4、 Copy mysql To /usr/local/mysql In the folder
cp mysql-5.7.17-linux-glibc2.5-x86_64 /usr/local/mysql -r
5、 Add system mysql Group and mysql user
groupadd mysql and useradd -r -g mysql mysql
6、 Enter the installation mysql Software Directory : Carry out orders
cd /usr/local/mysql
7. Modify owner
chown -R mysql:mysql ./
8、 Create before installing the database data Catalog
mkdir /usr/local/mysql/data
9、 Initialize database :

stay 5.7 Initialization requires mysqld --initialize

terms of settlement :
1. Put the source code in the package /usr/local/mysql/mysql-5.7.22-linux-glibc2.12-x86_64/share/english/errmsg.sys Copied to the /usr/share/mysql/errmsg.sys
2. Remove at the same time data The data in it , Reinitialize

边栏推荐
- typescript localStorage 封装
- 安科瑞BM100系列信号隔离器的实际应用
- 3D Slicer将分割结果保存
- libcef-常用概念-框架特点
- UML的六种关系-系统学习四
- Inheritance and override of methods
- Workbench常见网格划分方法讲解
- Graveyard
- "Forget to learn again" shell process control - 36. Introduction to the for loop
- 【Appium踩坑】关闭inspector后打开weditor,uiautomator2.exceptions.NullPointerExceptionError: -32001 Jsonrpc er
猜你喜欢
随机推荐
Educator web exercises - Page node elements
[appium stepping pit] close the inspector and open the WebEditor, uiautomator2 exceptions. NullPointerExceptionError: -32001 Jsonrpc er
Five (seven) principles - systematic learning III
Graveyard
[comprehensive pen test] difficulty 2.5/5: "tree array" and "double tree array optimization"
Three structures of program - system learning I
自定义view绘制折线图(支持缩放)
Common instructions for five basic data types in redis
Educoder Web练习题---文本层次语义元素
Six relationships of UML - system learning IV
LeetCode-高度检查器
Subnet mask calculation
Creation mode - singleton mode
Phpstudy2018 installation and opening directory browsing
Educoder 表格标签-表格基本结构
五大(七大)原则-系统学习三
【升级版学生信息管理系统】+文件操作+更多细节
安科瑞BM100系列信号隔离器的实际应用
Simple factory vs Factory Method & handwritten automatic chemical factory - system learning 6
Educator web exercise - creating a text area









