当前位置:网站首页>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 .
边栏推荐
猜你喜欢

Booking UI effect implemented by svg

Daily question brushing record (IX)

Consolidate entry-C basic variables and constants

面试突击60:什么情况会导致 MySQL 索引失效?

Bridge emqx cloud data to AWS IOT through the public network

More than 20million videos have been played in the business list! Why is the reform of Agricultural Academies urged repeatedly?

Share 5 commonly used feature selection methods, and you must see them when you get started with machine learning!!!

Horizontal visual error effect JS special effect code

Alibaba cloud disk sharing compressed package

Parker proportional overflow valve rs10r35s4sn1jw
随机推荐
Data security compliance has brought new problems to the risk control team
New skill: accelerate node through code cache JS startup
每日刷题记录 (九)
Canvas mouse control gravity JS effect
addmodule_allmerge_ams_im
flutter自定义组件
"Promotion + funny plot", how to collide with the sparks of popular funds?
China Infrastructure Development Association: electronic contract is recommended
pref使用记录
ssh工具 pyqt
美国PARKER派克传感器P8S-GRFLX
商鼎云新版来袭 | 收藏夹功能已上线,满足个人使用需求
[untitled] write a student achievement and information management system in C language to realize the operation interface, clear screen display of current operation functions, reading and inputting st
知名互联网房屋租赁服务公司物联网关键业务迁移上云实践
数据中心的能耗焦虑, 到底有没有最优解?
Cesium-1.72 learning (earth rotation)
.NET ORM框架HiSql实战-第一章-集成HiSql
leetcode:1042. Do not plant flowers adjacent to each other [randomly fill in qualified + no contradiction will be formed behind + set.pop]
Rexroth hydraulic control check valve z2s10-1-3x/
Interview shock 60: what will cause MySQL index invalidation?