当前位置:网站首页>Development: how to install offline MySQL in Linux system?
Development: how to install offline MySQL in Linux system?
2022-06-30 17:25:00 【TSINGSEE】
TSINGSEE Qingxi video focuses on the research and development of video streaming media technology , In terms of video capabilities and services , Continuous combination AI、 big data 、 Edge of computing 、 Internet of things and other emerging technologies , Enrich platform function modules , Reach the diversified needs of users . At present, we have launched diversified video platforms for the market , Such as EasyCVR、EasyGBS、EasyDSS、EasyNVR etc. , It can realize the access of multiple types of equipment 、 Multi protocol support 、 Multi format video stream output 、 Multi terminal platform compatibility .

Today I would like to share with you how to Linux The offline version is installed in the system MySQL, Here are the installation steps :
1、 download MySQL edition
Select the corresponding version , My side is centos System , Select the following :

2、 Environment configuration
1) Monitor whether the machine exists mysql:
rpm -qa|grep -i mysql
2) Find previous MySQL Catalog , And use rm -rf Folder name , Delete find / -name mysql.
3、 install
1) Unzip the downloaded version :
tar -zxvf mysql-5.7.37-linux-glibc2.12-x86_64.tar.gz
2) After decompressing MySQL Move to the position you want .
4、 mount this database
1) stay MySQL New under the directory data Catalog :
mkdir data
2) New in system /etc/my.cnf, The contents of the document are as follows , The catalog can be changed to the :

3) stay MySQL Execute the following command in the directory , Initialize database :
./bin/mysqld --initialize --user=mysql --basedir=/data/software/mysql/ --datadir=/data/software/mysql/data/
5、 Configure environment variables
1) open vim /etc/profi, Add the following code :
export PATH=$PATH:/data/software/mysql/bin
2) Refresh profile :
source /etc/profile
6、 start-up MySQL
service mysql start
As shown in the figure below , Indicating successful startup .

TSINGSEE The deployment of various platforms of Qingxi video is flexible , Rich and comprehensive video capabilities 、 It can meet the needs of users for multi scene video surveillance . The platform relies on flexible video capabilities 、 Strong expandability 、 High compatibility 、 Features such as lightness of deployment , It has been used in a large number of projects , Such as smart construction site 、 Smart factory 、 Smart campus 、 Safe campus 、 Safe city 、 Bright kitchen, bright stove, etc . Interested users can go to the demonstration platform for experience or deployment testing .
边栏推荐
- 商鼎雲新版來襲 | 收藏夾功能已上線,滿足個人使用需求
- "Promotion + funny plot", how to collide with the sparks of popular funds?
- Network: principle and practice of server network card group technology
- A tough battle for Tencent cloud
- Nut cloud - sync files on your mobile hard drive on your new computer
- Required plug-ins for idea
- 5G业务正式商用,属于广电的机会在哪?
- List becomes vector list becomes vector list vector
- 高等数学(第七版)同济大学 总习题一 个人解答
- Acwing game 57
猜你喜欢

【OpenCV 例程200篇】215. 基于多段线绘制近似椭圆

splitting.js密码显示隐藏js特效

Splitting.js文本标题缓慢加载js特效

Acwing game 57

Login box tricks

Splitting. JS text title slow loading JS effect

How to connect the Internet Reading Notes - Summary

【架构】1366- 如何画出一张优秀的架构图

Jsr303 and common validator implementations

Course design for the end of the semester: product sales management system based on SSM
随机推荐
6 张图带你搞懂 TCP 为什么是三次握手?
每日刷题记录 (九)
Share 5 commonly used feature selection methods, and you must see them when you get started with machine learning!!!
k线图快速入门必读
Data security compliance has brought new problems to the risk control team
Property or method “approval1“ is not defined on the instance but referenced during render
[C language] explain threads in detail - solve the problem of shared memory caused by concurrent programs by "locking"
Canvas mouse control gravity JS effect
中基协:推荐使用电子合同
Cesium-1.72 learning (eagle eye map of the earth)
Compile u-boot source code for stm32p157 development board
列表变成向量 列表变向量 list vector
Cesium-1.72 learning (China national boundary)
Required plug-ins for idea
leetcode:1042. 不邻接植花【随机填入符合要求的 + 后面不会形成矛盾 + set.pop】
geo 读取单细胞csv表达矩阵 单细胞 改列名 seurat
Redis data structure analysis
flutter自定义组件
flutter 音乐 录音 播放 audioplayers
解决方法:STM32使用cJSON解析数据失败