当前位置:网站首页>Install MySQL offline for Ubuntu
Install MySQL offline for Ubuntu
2022-07-18 12:44:00 【docker images】
One 、 Installation package
download Mysql Installation package Download address :MySQL :: Download MySQL Community Server
Two 、 install Mysql
2.1 Unzip the installation package
Create directory
mkdir mysql
Extract it to the created directory
tar -xvf mysql-server_8.0.29-1ubuntu21.10_amd64.deb-bundle.tar -C /home/mysql/
2.2 Add execution permission
chmod +x *.deb
2.3 install
Install dependency packages
sudo dpkg -i libaio1_0.3.112-9_amd64.deb
Install in sequence mysql
sudo dpkg -i mysql-common_8.0.29-1ubuntu21.10_amd64.deb
sudo dpkg -i libssl1.1_1.1.1l-1ubuntu1_amd64.deb
sudo dpkg -i mysql-community-client-plugins_8.0.29-1ubuntu21.10_amd64.deb
sudo dpkg -i mysql-community-client-core_8.0.29-1ubuntu21.10_amd64.deb
sudo dpkg -i libmysqlclient21_8.0.29-1ubuntu21.10_amd64.deb
sudo dpkg -i libmysqlclient-dev_8.0.29-1ubuntu21.10_amd64.deb
sudo dpkg -i libmecab2_0.996-14+b4_amd64.deb
sudo dpkg -i mysql-community-server-core_8.0.29-1ubuntu21.10_amd64.deb
sudo dpkg -i mysql-community-client_8.0.29-1ubuntu21.10_amd64.deb
sudo dpkg -i mysql-client_8.0.29-1ubuntu21.10_amd64.deb
sudo dpkg -i mysql-community-server_8.0.29-1ubuntu21.10_amd64.deb
eject root Password input box :
sudo dpkg -i mysql-community-server_8.0.29-1ubuntu21.10_amd64.deb
2.4 perform database Script ( optional , Import business initialization data )
2.4.1 Sign in
sudo mysql –uroot –p
2.4.2 Create database
create database erp;
2.4.3 Using the created database
use erp;
2.4.4 perform sql Script files
source /home/orm/mysql.sql;
边栏推荐
- Summary of autumn recruitment problems
- Targeting R+ (version 30 and above) requires the resources.arsc of installed APKs to be stored uncom
- From application to bottom: 36 pictures take you into redis world (Part 2)
- JS数组最全方法解读!!!
- On July 16, 2022, the results of cdga/cdgp data governance certification examination came out!
- 离婚损害赔偿的主体、条件、时间问题
- 2022学习软件测试心态建设和落地
- P1567 统计天数【入门】
- 【银河麒麟V10 SP2 x86安装mysql8.0.29】
- Single target tracking [correlation filtering] atom:accurate tracking by overlap maximization
猜你喜欢

torch. gather()

开源数据集——花分类数据集

今晚8点! LightDB PG分布式数据库技术创新与实践”

Detailed explanation of assembly language programming skills (with examples)

Redis installation (Windows) and common usage methods

Judge and other questions: how to determine that you are you in the program?

["plaything determination" scratch children programming] tank turbulence - "implementation of" through wall control "and" bullet rebound "- including complete code

PX4模塊設計之九:PX4飛行模式簡介
![Kettle [practice 01] under linux environment, Azkaban is used to call kettle's KJB or KTR script regularly to realize automatic data processing (complete process example sharing: cloud resources inclu](/img/7c/951c0fda0c1ba026564763c470374c.png)
Kettle [practice 01] under linux environment, Azkaban is used to call kettle's KJB or KTR script regularly to realize automatic data processing (complete process example sharing: cloud resources inclu

中文版《开放敏捷架构精选示例案例研究》官网正式上线,精彩先睹为快!
随机推荐
[wechat applet] basic horizontal and vertical scroll view (95/100)
MySQL error 1142 - select command denied to user 'dev' @ 'localhost' for table 'user' (resolved)
网安学习-权限提升
2022学习软件测试心态建设和落地
What is the whole process of Celsius' bankruptcy? This article takes you personally
Redis 中兩個字段排序
Why is private domain operation so popular? How can enterprises do their private domain operations well?
Detailed explanation and examples of anti shake throttling
推荐一款最流行的流程图及图表工具draw.io,老掉牙的工具已无人再用
MySQL deadlock analysis and solution
Terraform命令行工具介紹、安裝、使用
P1567 统计天数【入门】
Interface automated testing: postman practical tutorial
Redis_ Linux Installation
P1765 mobile phone [getting started]
0714 1 pm, review,
c语言基础篇:指针(初阶)
【Unity技术积累】模拟FPS射击功能 && 射线检测
023.static与final使用陷阱
In depth analysis of multiple knapsack problem (Part 1)