0% found this document useful (0 votes)
137 views15 pages

Install PhpMyAdmin On Ubuntu in 4 Steps! - Liquid Web

Uploaded by

Asma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
137 views15 pages

Install PhpMyAdmin On Ubuntu in 4 Steps! - Liquid Web

Uploaded by

Asma
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 15

Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

Search our Knowledge Base

Search

X
We use cookies to offer an improved online experience. By clicking accept or by
continuing to browse, you consent to our use of cookies. To learn more, please refer to Accept
our Privacy Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/).
C H AT W I T H A H U M A N

1 of 15 2/24/21, 5:41 AM
Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

(ht
tps
://
ww
w.li
nk
edi
n.c
(ht om
tp: /sh
//t are
wit Art
ter icle
.co ?m
m ini
/sh =tr
are ue
?te &
xt= url
Ho =ht
w+ tps
(ht to+ %3
tps Ins A%
:// tall 2F
ww +p %2
w.f hp Fw
ac My ww
eb Ad .liq
oo mi uid
k.c n+ we
om on b.c
/sh +U om
are bu %2
r nt Fk
/sh u+ b%
are 18. 2Fi x
r.p 04 nst
hp & all-
X
?uWe use
urlcookies
ph to offer an improved online experience. By clicking accept or by
=ht =ht topm
continuing browse, you consent to our use of cookies. To learn more, please refer to Accept
our Privacy Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/).
tps tps ya
C H AT W I T H A HUMAN
%3 %3 dm

2 of 15 2/24/21, 5:41 AM
Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

How to Install phpMyAdmin on


Ubuntu 18.04
Posted on March 31, 2020 (/kb/install-phpmyadmin-ubuntu-18-04/) by Alex Gorzen
(/kb/author/agorzen/) | Updated: June 5, 2020
Category: Tutorials (/kb/category/tutorials/) | Tags: Apache (/kb/tag/apache/), Apache2
(/kb/tag/apache2/), Installation (/kb/tag/installation/), PHPMyAdmin (/kb/tag
/phpmyadmin/), Ubuntu (/kb/tag/ubuntu/)

Reading Time: < 1 minute

Working with a database can sometimes be intimidating, but PhpMyAdmin can simplify
tasks by providing a control panel to view or edit your MySQL or MariaDB database.  In
this quick tutorial, we’ll show you how to install PhpMyAdmin on an Ubuntu VPS server
(/products/vps).

(https://www.youtube.com/embed/qpGkph-AIs0?rel=)

Preflight x
Logged in as root or a user with sudo privileges
MariaDB/MySQL must be installed (/kb/install-mariadb-ubuntu-1804/) X
We use cookies to offer an improved online experience. By clicking accept or by
Step 1: Update
continuing the apt
to browse, package
you consent tooluse
to our toofensure
cookies.we are working
To learn with
more, please thetolatest and
refer Accept
our Privacy
greatest. Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/).
C H AT W I T H A H U M A N

3 of 15 2/24/21, 5:41 AM
Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

apt update && upgrade

Step 2: Install PhpMyAdmin and PHP extensions for managing non-ASCII string and
necessary tools.

apt install phpmyadmin php-mbstring php-gettext

During this installation you’ll be asked for the web server selection, we will select
Apache2 and select ENTER.

In this step, you have the option for automatic setup or to create the database manually.
For us, we will do the automatic installation by pressing ENTER for yes.

At this setup, you’ll be asked to set the PhpMyAdmin password. Specifically for the
PhpMyAdmin user, phpmyadmin,  you’ll want to save this in a secure spot for later
retrieval.

X
We use cookies to offer an improved online experience. By clicking accept or by
continuing to browse, you consent to our use of cookies. To learn more, please refer to Accept
our Privacy Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/).
C H AT W I T H A H U M A N

4 of 15 2/24/21, 5:41 AM
Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

Step 3:  Enable PHP extension.

phpenmod mbstring

Note

If you’re running multiple domains on one server then you’ll want to configure your
/etc/apache2/apache2.conf to enable PhpMyAdmin to work.

vim /etc/apache2/apache2.conf

Add:

Include /etc/phpmyadmin/apache.conf

Step 4:  Restart the Apache service to recognize the changes made to the system.

systemctl restart apache2

Step 5: Verify PhpMyAdmin installation by going to http://ip/phpmyadmin (username


phpmyadmin).

X
We use cookies to offer an improved online experience. By clicking accept or by
continuing to browse, you consent to our use of cookies. To learn more, please refer to Accept
our Privacy Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/).
C H AT W I T H A H U M A N

5 of 15 2/24/21, 5:41 AM
Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

Still having issues installing?  Our Liquid Web servers (/products/vps) come with 24/7
technical support. You can open a ticket with us right away at [email protected]
(mailto:[email protected]), give us a call at 800-580-4985 or, open a chat with us
(/kb/top-10-2019-password-security-standards/#) to speak to one of our Level 3 Support
Admins or a Solutions Advisor today!

X
We use cookies to offer an improved online experience. By clicking accept or by
continuing to browse, you consent to our use of cookies. To learn more, please refer to Accept
our Privacy Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/).
C H AT W I T H A H U M A N

6 of 15 2/24/21, 5:41 AM
Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

(ht
tps
://
ww
w.li
nk
edi
n.c
(ht om
tp: /sh
//t are
wit Art
ter icle
.co ?m
m ini
/sh =tr
are ue
?te &
xt= url
Ho =ht
w+ tps
(ht to+ %3
tps Ins A%
:// tall 2F
ww +p %2
w.f hp Fw
ac My ww
eb Ad .liq
oo mi uid
k.c n+ we
om on b.c
/sh +U om
are bu %2
r nt Fk
/sh u+ b%
are 18. 2Fi x
r.p 04 nst
hp & all-
X
?uWe use
urlcookies
ph to offer an improved online experience. By clicking accept or by
=ht =ht topm
continuing browse, you consent to our use of cookies. To learn more, please refer to Accept
our Privacy Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/).
tps tps ya
C H AT W I T H A HUMAN
%3 %3 dm

7 of 15 2/24/21, 5:41 AM
Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

Related Articles:
How to Install and Configure phpMyAdmin on Ubuntu 16.XX (/kb/how-to-install-and-
configure-phpmyadmin-on-ubuntu-16-xx/)
Becoming Familiar with Databases in PhpMyAdmin (/kb/becoming-familiar-with-
databases-in-phpmyadmin/)
Searching Through a Database with PhpMyAdmin (/kb/searching-through-
a-database-with-phpmyadmin/)
Running SQL Queries on a Database with PhpMyAdmin (/kb/running-sql-queries-on-
a-database-with-phpmyadmin/)
Exporting Databases and Tables with PhpMyAdmin (/kb/exporting-databases-and-
tables-with-phpmyadmin/)
Creating Tables in a Database with phpMyAdmin (/kb/creating-tables-in-a-database-
with-phpmyadmin/)

About the Author: Alex Gorzen

Alex Gorzen has been helping others with technology his whole life. He played with
computers even before he could read and wants to make sure his children share
that same love as they grow up. In his free time he enjoys gardening, building things,
and learning new skills.

X
We use cookies to offer an improved online experience. By clicking accept or by
continuing to browse, you consent to our use of cookies. To learn more, please refer to Accept
our Privacy Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/).
C H AT W I T H A H U M A N

8 of 15 2/24/21, 5:41 AM
Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

Join our mailing list to receive news, tips, strategies, and inspiration you need to
grow your business.

Your Email Address

Subscribe

Categories

Billing + Manage (/kb/category/billing-manage/) 50

Cloud Sites (/kb/category/products/cloud-sites/) 7

Common Fixes (/kb/category/common-fixes/) 84

Featured Articles (/kb/category/featured-articles/) 59

Getting Started (/kb/category/getting-started/) 125


x
InterWorx (/kb/category/tutorials/interworx/) 2

X
Managed
We WooCommerce
use cookies Hosting
to offer an improved online(/kb/category/products/managed-woocommerce-
experience. By clicking accept or by
continuing to browse, you consent to our use of cookies. To learn more, please refer to Accept
hosting/)
our Privacy Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/). 30
C H AT W I T H A H U M A N

9 of 15 2/24/21, 5:41 AM
Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

Managed WordPress (/kb/category/products/managed-wordpress/) 32

Other (/kb/category/other/) 29

Products (/kb/category/products/) 20

Security Bulletins (/kb/category/security-bulletins/) 22

Series (/kb/category/series/) 62

Technical Support (/kb/category/technical-support/) 411

Tutorials (/kb/category/tutorials/) 745

WHM + cPanel (/kb/category/tutorials/whm-cpanel/) 22

Have Some Questions?

Our Sales and Support teams are available 24 hours by phone or e-mail (/contact-
us/) to assist.

1.800.580.4985
1.517.322.0434

Latest Articles

X
We use cookies to offer an improved online experience. By clicking accept or by
continuing to browse, you consent to our use of cookies. To learn more, please refer to Accept
our Privacy Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/).
C H AT W I T H A H U M A N

10 of 15 2/24/21, 5:41 AM
Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

TUTORIALS (/KB/CATEGORY/TUTORIALS/)

Intrusion Detection Systems: Behind the Firewall

Read Article (/kb/intrusion-detection-


systems-behind-the-firewall/)

TECHNICAL SUPPORT (/KB/CATEGORY/TECHNICAL-SUPPORT/)

How to Monitor Your Server in WHM

Read Article (/kb/monitoring-server-whm/)

COMMON FIXES (/KB/CATEGORY/COMMON-FIXES/)

How to Fix Typical WordPress Errors

Read Article (/kb/locating-wordpress-error-


logs/)

GETTING STARTED (/KB/CATEGORY/GETTING-STARTED/)

How to Edit Your DNS Hosts File


X
We use cookies to offer an improved online experience. By clicking accept or by
continuing to browse, you consent to our use of cookies. To learn more, please refer to Accept
Read Article (/kb/dns-hosts-file/)
our Privacy Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/).
C H AT W I T H A H U M A N

11 of 15 2/24/21, 5:41 AM
Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

SERIES (/KB/CATEGORY/SERIES/)

MySQL Performance: How To Leverage MySQL Database Indexing

Read Article (/kb/mysql-optimization-how-to-


leverage-mysql-database-indexing/)

Want More Great Content Sent to Your Inbox?

Your Email Address

Subscribe

Products (/products/) Enterprise Hosting


(/enterprise-hosting/)
Dedicated Servers (/products/dedicated/)
Cloud Servers (/products/cloud-servers/)
VPS Hosting (/products/vps/)
High Performance Solutions (/enterprise-
Cloud Dedicated (/products/cloud- hosting/high-performance-hosting/)
dedicated/)
High Availability Solutions (/enterprise-
Private VPS Parent (/products/private-vps- hosting/high-availability-hosting/)
parent/)
Reseller Hosting (/solutions/reseller/)
Cloud Sites (/products/cloud-sites/) x
VMware Private Cloud (/products/private-
Cloud Servers (/products/cloud-servers/) cloud/)
X
We use cookies to offer an improved online experience. By clicking accept or by
continuing to browse, you consent to our use of cookies. To learn more, please refer to Accept
High Availability Database Hosting
our Privacy Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/).
(/enterprise-hosting/high-availability-
C H AT W I T H A H U M A N

12 of 15 2/24/21, 5:41 AM
Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

database-hosting/)
Server Clusters (/products/server-
clusters/)
HIPAA Compliant Hosting (/solutions
/hipaa-compliant-hosting/)
Managed WordPress (/products
/managed-wordpress/)
PCI Compliance (/custom-solutions/high-
availability-database-hosting/)
Managed WooCommerce (/products
/managed-woocommerce-hosting/)

Add-Ons (/products/add-ons/)
VMware Private Cloud (/products/private-
cloud) Storage & Backups (/products/add-
ons/storage-backups/)

Security & Compliance Add-Ons


(/products/add-ons/#security-compliance)

Performance Add-Ons (/products/add-


ons/performance/)

Software Add-Ons (/products/add-


ons/software/)

Email Hosting (/products/add-ons/email/)

Solutions (/solutions/) Resources (/resources/)

Freelancers (/solutions/freelancers/) Knowledge Base (/kb/)

Agencies (/solutions/agency/) Blog (/blog/)

Business Owners (/solutions/business- Insights (https://hub.liquidweb.com/)


owner/)
x
Webinars (https://hub.liquidweb.com
Resellers (/solutions/reseller/) /webinars)
X
We use cookies to offer an improved online experience. By clicking accept or by
continuing to browse, you consent to our use of cookies. To learn more, please refer to Accept
our Privacy Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/).
C H AT W I T H A H U M A N

13 of 15 2/24/21, 5:41 AM
Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

eCommerce Hosting (/solutions Case Studies (https://hub.liquidweb.com


/ecommerce/) /case-studies)

Application Hosting (/solutions Search (/search/)


/application-hosting/)

Support (/support/)
Partners (/partner-
community/) Support Overview (/support/)

Affiliate & Referral Program (/partner- The Hosting Experience (/support


community/affiliate/) /managed-experience/)

Reseller Hosting (/partner-community Support Comparison (/support/compare/)


/reseller-hosting/)

Support Tools
Web Professional (/partner-community (https://tools.liquidweb.com)
/web-professional/)

Partner Directory (/partner-community


Contact Us (/contact-us/)
/partner-directory/)

Phone 800.580.4985 (tel:1-800-580-4985)

24 Hr Sales Option 1
(tel:1-800-580-4985,1)

24 Hr Support Option 2
(tel:1-800-580-4985,2)

International 1.517.322.0434
(tel:1-517-322-0434)

About Us (/about-us/)
X
We use cookies to offer an improved online experience. By clicking accept or by
Liquid Web
continuing Reviews
to browse, you(/liquid-web-reviews/)
consent to our use of cookies. To learn more, please refer to Accept
our Privacy Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/).
C H AT W I T H A H U M A N

14 of 15 2/24/21, 5:41 AM
Install phpMyAdmin on Ubuntu in 4 Steps! | Liquid Web https://www.liquidweb.com/kb/install-phpmyadmin-ubu...

Press Room (/about-us/press-room/)

Team (/about-us/team/)

Our Brands (/our-brands/)

Careers (/careers/)

Certifications (/about-us/policies
/certifications/)

Policies (/about-us/policies/)

Privacy Policy (/about-us/policies/privacy-


policy/)

Acceptable Use Policy (/about-us/policies


/acceptable-use-policy/)

© 2021 Liquid Web, LLC | Privacy Policy (/about-us/policies/privacy-policy/)

(/our-brands/) (/) (https://www.nexcess.net/)


(https://ithemes.com)

(https://www.interworx.com)

X
We use cookies to offer an improved online experience. By clicking accept or by
continuing to browse, you consent to our use of cookies. To learn more, please refer to Accept
our Privacy Policy (https://www.liquidweb.com/about-us/policies/privacy-policy/).
C H AT W I T H A H U M A N

15 of 15 2/24/21, 5:41 AM

You might also like