This tutorial shares the process of manually installing MySQL 5.7.10 on Ubuntu for your reference. The specific contents are as follows 1. Download the installation package MySQL official website download address Select the system version Ubuntu14.04 with the suffix deb_bundle.tar to download Ubuntu Linux 14.04 (x86, 64-bit), DEB Bundle MySQL Server 5.7.x 237.6M (x here means the latest version of MySQL) This article uses mysql5.7.10 as an example (File name: mysql-server_5.7.10-1ubuntu14.04_amd64.deb-bundle.tar) 2. Decompression Unzip it in /usr/local/src: 1) Use the mv command to move the installation package to the target path: mv /home/"currently logged in user name"/"download path of the installation package"/mysql-server_5.7.10-1ubuntu14.04_amd64.deb-bundle.tar /usr/local/src (please modify the path in quotation marks) 2) cd to the target path: cd /usr/local/src 3) Grant permissions: sudo chmod +x mysql-server_5.7.10-1ubuntu14.04_amd64.deb-bundle.tar 4) Decompression: tar -xf mysql-server_5.7.10-1ubuntu14.04_amd64.deb-bundle.tar The following files are extracted: libmysqlclient20_5.7.10-1ubuntu14.04_amd64.deb libmysqlclient-dev_5.7.10-1ubuntu14.04_amd64.deb libmysqld-dev_5.7.10-1ubuntu14.04_amd64.deb mysql-client_5.7.10-1ubuntu14.04_amd64.deb mysql-common_5.7.10-1ubuntu14.04_amd64.deb mysql-community-client_5.7.10-1ubuntu14.04_amd64.deb mysql-community-server_5.7.10-1ubuntu14.04_amd64.deb mysql-community-source_5.7.10-1ubuntu14.04_amd64.deb mysql-community-test_5.7.10-1ubuntu14.04_amd64.deb mysql-server_5.7.10-1ubuntu14.04_amd64.deb mysql-testsuite_5.7.10-1ubuntu14.04_amd64.deb mysql-community_5.7.10-1ubuntu14.04_amd64.changes (You can check it with ls) 3. Terminal command installation 0) Preparation: Update dependency sources and install libaio1 dependencies sudo apt-get update sudo apt-get upgrade apt-get install libaio1 1) The following is my installation order, which is roughly the same for every machine. If the terminal prompts which dependency is missing, you can slightly modify the installation order. sudo dpkg -i mysql-common_5.7.10-1ubuntu14.04_amd64.deb sudo dpkg-preconfigure mysql-community-server_5.7.10-1ubuntu14.04_amd64.deb This step requires you to enter the root password of the data sudo dpkg -i libmysqlclient20_5.7.10-1ubuntu14.04_amd64.deb sudo dpkg -i libmysqlclient-dev_5.7.10-1ubuntu14.04_amd64.deb sudo dpkg -i libmysqld-dev_5.7.10-1ubuntu14.04_amd64.deb sudo dpkg -i mysql-community-client_5.7.10-1ubuntu14.04_amd64.deb sudo dpkg -i mysql-client_5.7.10-1ubuntu14.04_amd64.deb sudo dpkg -i mysql-common_5.7.10-1ubuntu14.04_amd64.deb 2) Install dependency packages sudo apt-get -f install sudo apt-get -f install libmecab2 3) Install mysql-server sudo dpkg -i mysql-community-server_5.7.9-1ubuntu14.04_amd64.deb sudo dpkg -i mysql-server_5.7.9-1ubuntu14.04_amd64.deb 4. Detection, installation and configuration mysql -u root -p Enter the account password you set previously The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: JavaScript to switch multiple pictures
>>: Autotrash tool for Linux to automatically delete old junk files at a scheduled time
Preface What is the role of an agent? - Multiple ...
Using ajax to implement form submission without re...
1. Introduction Is it considered rehashing old st...
MySQL official website zip file download link htt...
Beginners who are exposed to HTML learn some HTML...
This article shares the specific code of writing ...
Lots of links You’ve no doubt seen a lot of sites ...
1. MySQL's own stress testing tool Mysqlslap ...
I was bored and sorted out some simple exercises ...
This article example shares the specific code of ...
In general : [1 important flag] > [4 special fl...
Table of contents Preface Why does limit deep pag...
Download from official website: https://www.mysql...
1. Dynamically create objects There are two ways ...
The <label> tag defines a label (tag) for an...