当前位置:网站首页>Ubuntu 18.04 install mysql5.7.35 with tar package
Ubuntu 18.04 install mysql5.7.35 with tar package
2022-07-18 13:47:00 【abka】
download mysql Installation package :
MySQL :: Download MySQL Community Server (Archived Versions)
choice ubuntu 18.04 x64 position

The download link is as follows :
https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-server_8.0.29-1ubuntu18.04_amd64.deb-bundle.tar
ubuntu Execute download :
wget https://cdn.mysql.com//Downloads/MySQL-8.0/mysql-server_8.0.29-1ubuntu18.04_amd64.deb-bundle.tardecompression , Carry out orders
tar -xvf mysql-server_8.0.29-1ubuntu18.04_amd64.deb-bundle.tarExecute the following command :
$> sudo apt-get install libaio1
$> sudo dpkg-preconfigure mysql-community-server_*.deb

The above command is shown in the figure above , Input password
sudo dpkg -i mysql-{common,community-client,client,community-server,server}_*.deb The tips are as follows :
sudo dpkg -i mysql-{common,community-client,client,community-server,server}_*.deb
Selecting previously unselected package mysql-common.
(Reading database ... 67396 files and directories currently installed.)
Preparing to unpack mysql-common_5.7.35-1ubuntu18.04_amd64.deb ...
Unpacking mysql-common (5.7.35-1ubuntu18.04) ...
Selecting previously unselected package mysql-community-client.
Unpacking mysql-community-server (5.7.35-1ubuntu18.04) ...
dpkg-deb: error: 'mysql-server_5.7.35-1ubuntu18.04_amd64.deb' is not a Debian format archive
dpkg: error processing archive mysql-server_5.7.35-1ubuntu18.04_amd64.deb (--install): pkg: error processing archive mysql-server_5.7.35-1ubuntu18.04_amd64.deb (--install):
dpkg-deb --control subprocess returned error exit status 2
Setting up mysql-common (5.7.35-1ubuntu18.04) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up mysql-community-client (5.7.35-1ubuntu18.04) ...
Setting up mysql-client (5.7.35-1ubuntu18.04) ...
dpkg: dependency problems prevent configuration of mysql-community-server:
mysql-community-server depends on libmecab2; however:
Package libmecab2 is not installed.
dpkg: error processing package mysql-community-server (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db (2.8.3-2ubuntu0.1) ...
Processing triggers for ureadahead (0.100.0-21) ...
Processing triggers for systemd (237-3ubuntu10.52) ...
Errors were encountered while processing:
mysql-server_5.7.35-1ubuntu18.04_amd64.deb
mysql-community-server
perform :
sudo apt-get -f install
After installation :
The location of the configuration file :
All the configuration files (like
my.cnf) stay/etc/mysql Under the table of contentsAll binary , library , The header file ( binaries, libraries, headers), Wait in
/usr/binand/usr/sbinThe data directory is in
/var/lib/mysql Under the table of contents
End of installation .
verification :
mysql -u root -p
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 6
Server version: 5.7.35 MySQL Community Server (GPL)
Copyright (c) 2000, 2021, Oracle and/or its affiliates.Reference resources :
MySQL :: MySQL Installation Guide :: 7.6 Installing MySQL on Linux Using Debian Packages from Oracle
边栏推荐
- 用例解读:openinstall多场景应用分析
- 关于XML文件(五)
- The writing method of like% variable% in Oracle SQL
- Low power test scheme of jishili multimeter
- Why does QT creator compile so slowly?
- Three lines (spring daily question 59)
- Leetcode - interview question 02.05 List summation
- MySQL window function running average
- [independent station operation] understand the four skills of cross-border e-commerce operation in one minute!
- Dpdk flow filter summary (flow director/ rte_flow)
猜你喜欢

Description of common operators in Halcon 3D

Sword finger offer 11 Rotate the minimum number of the array

Dpr-34, AC220V double position relay

山东省中小企业数字化转型论坛成功举办,九州云赋能中小企业数智升级

More than 130 enterprises and 3500 developers have jointly built the root community of opengauss open source database

Enterprise OA system based on SSM, high-quality paper examples, attached source code, database script, project introduction and operation tutorial, Paper Writing Tutorial

Esp8266+blinker+web distribution network

Sword finger offer 63 Maximum profit of stock

singan:learning a generative model from a single natural image
![03_ Case setup [resttemplate calls microservices]](/img/67/98814e8762e0198aa6368575678f4d.png)
03_ Case setup [resttemplate calls microservices]
随机推荐
ORA-600:[qertbGetPartitionNumber:qesma2],[],[],[]
Automatic completion (spring daily question 58)
What are MySQL's intentional shared locks, intentional exclusive locks, and deadlocks
AB PLC学习笔记
【FPGA教程案例25】通过NCO核和除法器实现tan(x)计算
Low power test scheme of jishili multimeter
DSP core class library Net version degradation
QImage 图像格式小结
单细胞论文记录(part15)--Integrated analysis of multimodal single-cell data
03_ Case setup [resttemplate calls microservices]
用例解读:openinstall多场景应用分析
JS how to realize the automatic scrolling and looping of the list
Hcip the next day
ORA-01033
Reduction of type
2018年江苏省信息与未来程序设计小能手比赛试题--(新)鸡兔同笼标程
Description of common operators in Halcon 3D
leetcode 2. 两数相加
英语 | 阅读的逻辑 解题笔记
7.15 Résumé du concours de simulation