当前位置:网站首页>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 .
边栏推荐
- Data security compliance has brought new problems to the risk control team
- Cesium-1.72 learning (eagle eye map of the earth)
- Plane intersection and plane equation
- 泰山OFFICE技术讲座:同一行不同字号的字如何对齐绘制
- Consolidate entry-C basic variables and constants
- Network: principle and practice of server network card group technology
- ROC-RK3566-PC使用10.1寸IPS触摸屏显示
- 将 EMQX Cloud 数据通过公网桥接到 AWS IoT
- 24: Chapter 3: develop pass service: 7: user defined exceptions (to represent errors in the program); Create graceexceptionhandler to handle exceptions globally and uniformly (build JSON data of corre
- Design of piece counter based on 51 single chip microcomputer
猜你喜欢

Dart: string replace related methods

3D图表有效提升数据大屏档次

Ningx 1.20.2

Parker variable displacement piston pump pv092r1k1t1nmmc

Alibaba cloud disk sharing compressed package

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

leetcode:787. K 站中转内最便宜的航班【k步最短路 + dfs记忆化 + defaultdict(dict)】

ssh工具 pyqt

Construction schedule of intelligent management and control platform in Shanxi Chemical Industry Park

Write the simplest small program in C language Hello World
随机推荐
美国穆格moog伺服阀D661-4577C
Canvas cloud shape animation
万卷书 - 欧洲的门户 [The Gates of Europe]
开发那些事儿:如何在视频中添加文字水印?
Sub chain cross technology source level exploration: an overview of xcvm
阿里云盘分享压缩包
面试突击60:什么情况会导致 MySQL 索引失效?
分享 5 大常用的特征选择方法,机器学习入门必看!!!
中基协:推荐使用电子合同
【C语言】详解线程 — 多线程进行协同运算
Exch:Exchange Server 2013 即将终止支持
Splitting. JS text title slow loading JS effect
parker比例溢流阀RS10R35S4SN1JW
Exch:exchange server 2013 is about to end support
泰山OFFICE技术讲座:同一行不同字号的字如何对齐绘制
Mysql8 NDB cluster installation and deployment
[C language] explain threads - thread separation function pthread_ detach
Plane intersection and plane equation
博士毕业去县城工作,如何是你,怎么选?
[C language] explain threads in detail - solve the problem of shared memory caused by concurrent programs by "locking"