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

How to install MySQL in Ubuntu19

2025-01-18 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

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

This article will explain in detail how to install MySQL in Ubuntu19, the content of the article is of high quality, so the editor will share it for you as a reference. I hope you will have some understanding of the relevant knowledge after reading this article.

MySQL is installed

Sudo apt install mysql-server

If installed here, MySQL5.7 is installed by default, but due to compatibility issues, Ubuntu19 no longer supports its operation, including Ubuntu18.

In the installation process, there is no prompt to enter the root password, after the installation is completed, the root password is reset, but still can not log in normally, after query, it is found that it is because the high version of Ubuntu no longer supports the MySQL5.7 version, the specific information can be queried in the following page.

Https://dev.mysql.com/downloads/mysql/

After many pitfalls, I found that I only need to install MySQL8.3 to solve this problem.

You can download it in the link below

Https://dev.mysql.com/downloads/repo/apt/

When the download comes back, execute the following command

Sudo dpkg-I mysql-apt-config_0.8.13-1_all.deb

After the previous selection is completed, switch to the lowest "OK", then press the "Tab" key, switch to the lowest ok, and enter.

After that, it is a very routine operation, first perform the update, and then install it. At this time, the installation is already the 8.x version of MySQL. If you need to download other corresponding versions, you can download them in this way.

Sudo apt updatesudo apt install mysql-server

On how to install MySQL in Ubuntu19 to share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

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

Internet Technology

Wechat

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

12
Report