Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Graphic tutorials for Ubuntu16.04 to install mysql5.7.22

2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

VMware12.0+Ubuntu16.04+MySQL5.7.22 installation tutorial, the details are as follows

First use the command sudo-s to get root permissions, and you don't need to enter a password every time you execute any commands. Use whereis mysql to see if MySQL is currently installed, uninstall it, and continue without it. As shown in the following figure, MySQL is not installed on this machine before, and the path shown is a folder I created in order to put mysql.

Copy the downloaded MySQL to the specified path folder mysql with the command "cp mysql-server_8.0.11-1ubuntu16.04_amd64.deb-bundle.tar / usr/local/mysql", then go into the mysql to decompress the files, use the command "tar-xvf mysql-server_8.0.11-1ubuntu16.04_amd64.deb-bundle.tar" to extract the MySQL, and get the following files.

Execute the following commands in turn:

Install libaio1:

Execute the command sudo apt-get update

After executing the apt-get install libmecab2, let you set the mysql password.

Set password confirmation

Start mysql

Log in to mysql

Do some things with mysql:

At this point, the mysql installation is complete.

The above is the whole content of this article, I hope it will be helpful to your study, and I also hope that you will support it.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Database

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report