当前位置:网站首页>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 .
边栏推荐
- How to use AI technology to optimize the independent station customer service system? Listen to the experts!
- Glacier teacher's book
- mysql下载和安装详细教程
- 一点比较有意思的模块
- 《客从何处来》
- PyTorch学习(三)
- Practical application of "experience" crawler in work
- Nodejs 安装与介绍
- Unlimited cloud "vision" innovation | the 2022 Alibaba cloud live summit was officially launched
- 教你30分钟快速搭建直播间
猜你喜欢

Hospital online consultation applet source code Internet hospital source code smart hospital source code

Digital intelligent supplier management system solution for coal industry: data driven, supplier intelligent platform helps enterprises reduce costs and increase efficiency

PC端微信多开
![删除排序链表中的重复元素 II[链表节点统一操作--dummyHead]](/img/dd/7df8f11333125290b4b30183cfff64.png)
删除排序链表中的重复元素 II[链表节点统一操作--dummyHead]

【合集- 行业解决方案】如何搭建高性能的数据加速与数据编排平台

PC wechat multi open

Nodejs 安装与介绍

教你30分钟快速搭建直播间

When selecting smart speakers, do you prefer "smart" or "sound quality"? This article gives you the answer

Personally test the size of flutter after packaging APK, quite satisfied
随机推荐
详解单例模式
Glacier teacher's book
Practice and Thinking on the architecture of a set of 100000 TPS im integrated message system
slice
[community star selection] the 23rd issue of the July revision plan | bit by bit creation, converging into a tower! Huawei freebuses 4E and other cool gifts
opencv数据类型代码表 dtype
华兴证券:混合云原生架构下的 Kitex 实践
France a+ France VOC label highest environmental protection level
Large file transfer software based on UDP protocol
PC端微信多开
熵-条件熵-联合熵-互信息-交叉熵
SaaS project management system solution for the financial service industry helps enterprises tap a broader growth service space
正则表达式(正则匹配)
Electron 入门
Word——Word在试图打开文件时遇到错误的一种解决办法
「经验」爬虫在工作中的实战应用『理论篇』
Regular expressions (regular matching)
Full recharge, im+rtc+x full communication service "feedback season" starts
Opencv data type code table dtype
Practical application of "experience" crawler in work "theory"