Get the App
SLTechnology News&Howtos  ›  Database  › 

How to install phpmyadmin on Ubuntu

Shulou Source: shulou.com Published: 2022-06-01 00:53:01 11月15日 Update

This article is about how to install phpmyadmin on Ubuntu. The editor thinks it is very practical, so share it with you as a reference and follow the editor to have a look.

Background

Suddenly want to do wayward development, but found that sqlite3 can not meet my requirements for the database, so after a year, configure phpmyadmin again.

Because I forgot how to configure phpmyadmin, I took a look at Baidu (google is good, not VPN), and found that many of the configuration methods are not good, for example: do soft links. So write a simple article to explain.

Use a command line installation instead of software-center

It can be troublesome to use software-center about database configuration files. However, we can use commands to solve the problem:

Sudo dpkg-reconfigure-plow phpmyadmin

Then:

Sudo ln-s / etc/phpmyadmin/apache.conf / etc/apache2/conf-available/phpmyadmin.confsudo a2enconf phpmyadminsudo / etc/init.d/apache2 reload

If apache is started at this time, use reload. If it doesn't start, just start it directly.

If you have a problem, check wiki first, which is also a lesson for yourself.

Thank you for reading! This is the end of the article on "how to install phpmyadmin on Ubuntu". I hope the above content can be of some help to you, so that you can learn more knowledge. if you think the article is good, you can share it for more people to see!

Tags: Configuration content commands data database more articles questions good practical wayward bad things again Dafa said files articles methods time Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno MySQL macOS Huawei vpn Microsoft