当前位置:网站首页>Development: how to install offline MySQL in Linux system?
Development: how to install offline MySQL in Linux system?
2022-06-30 19:12:00 【Tsingsee green rhino video】
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 mysql2) 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.gz2) After decompressing MySQL Move to the position you want .
4、 mount this database
1) stay MySQL New under the directory data Catalog :
mkdir data2) 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/bin2) Refresh profile :
source /etc/profile6、 start-up MySQL
service mysql startAs 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 .
边栏推荐
- Small program container technology to promote the operation efficiency of the park
- 德国AgBB VoC有害物质测试
- Compare the audio librosa library with the Mel spectrogram in the torchaudio library
- Evolution of screen display technology
- 【社区明星评选】第23期 7月更文计划 | 点滴创作,汇聚成塔!华为FreeBuds 4E等酷爽好礼送不停
- ONEFLOW source code parsing: automatic inference of operator signature
- 拓维信息使用 Rainbond 的云原生落地实践
- Ambient light and micro distance detection system based on stm32f1
- Digital intelligent supplier management system solution for coal industry: data driven, supplier intelligent platform helps enterprises reduce costs and increase efficiency
- 【TiDB】TiCDC canal_ Practical application of JSON
猜你喜欢

Redis入门到精通01

视频内容生产与消费创新

充值满赠,IM+RTC+X 全通信服务「回馈季」开启

Detailed single case mode

Geoffrey Hinton: my 50 years of in-depth study and Research on mental skills

AI chief architect 10-aica-lanxiang, propeller frame design and core technology

一套十万级TPS的IM综合消息系统的架构实践与思考

Regular expressions (regular matching)

联想YOGA 27 2022,超强配置全面升级

MRO industrial products procurement management system: enable MRO enterprise procurement nodes to build a new digital procurement system
随机推荐
Neon optimization 2: arm optimization high frequency Instruction Summary
Leader: who can use redis expired monitoring to close orders and get out of here!
Hospital online consultation applet source code Internet hospital source code smart hospital source code
Electron 入门
拓维信息使用 Rainbond 的云原生落地实践
torch stack() meshgrid()
Opengauss database source code analysis series articles -- detailed explanation of dense equivalent query technology (Part 1)
云上“视界” 创新无限 | 2022阿里云直播峰会正式上线
Pytorch learning (III)
How does rust implement dependency injection?
Go redis connection pool
German agbb VOC hazardous substances test
Detailed single case mode
Entry node of link in linked list - linked list topic
How to improve the three passive situations in data analysis
MySQL recursion
go之web框架 iris
NFT technology for gamefi chain game system development
Dlib library for face key point detection (openCV Implementation)
torch.roll