How to install MySQL Server and Client on Ubuntu 16.04?

How to install MySQL Server and Client on Ubuntu 16.04?

Hi,

Latest version of Ubuntu 16.04 is already released and it can be downloaded from Ubuntu website.

I have installed latest version of Ubuntu 16.04 on my computer. I want to learn MySQL and finding tutorials for installing MySQL.

How to install MySQL Server and Client on Ubuntu 16.04?

Let's know the steps and command for installing and configuring it on my Computer.

Thanks

View Answers

June 25, 2016 at 10:02 AM

Hi,

Its easy to install MySQL on Ubuntu 16.04.

Command:

Install MySQL 5.7:

First of all update the system:

sudo apt-get update

Now upgrade the system:

sudo apt-get upgrade

Finally run the following command to install MySQL Server:

sudo apt-get install mysql-server mysql-client

Here is the full output of the process:

To run a command as administrator (user "root"), use "sudo <command>".
See "man sudo_root" for details.

deepak@deepakub16:~$ sudo apt-get update
[sudo] password for deepak: 
Hit:1 http://in.archive.ubuntu.com/ubuntu xenial InRelease
Hit:2 http://security.ubuntu.com/ubuntu xenial-security InRelease       
Get:3 http://in.archive.ubuntu.com/ubuntu xenial-updates InRelease [94.5 kB]
Hit:4 http://in.archive.ubuntu.com/ubuntu xenial-backports InRelease
Get:5 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [222 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [219 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [99.9 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [97.0 kB]
Fetched 732 kB in 16s (44.7 kB/s)                                              
Reading package lists... Done
deepak@deepakub16:~$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  compiz compiz-core compiz-gnome compiz-plugins-default file-roller gdb
  gdbserver initramfs-tools initramfs-tools-bin initramfs-tools-core
  libcompizconfig0 libdecoration0 libglib2.0-0 libglib2.0-bin libglib2.0-data
  libnm-glib-vpn1 libnm-glib4 libnm-gtk-common libnm-gtk0 libnm-util2 libnm0
  libnma-common libnma0 linux-firmware lshw network-manager
  network-manager-gnome openssh-client python3-software-properties
  shared-mime-info snapd software-properties-common software-properties-gtk
33 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 47.0 MB of archives.
After this operation, 1,209 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools all 0.122ubuntu8.1 [8,602 B]
Get:2 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools-core all 0.122ubuntu8.1 [42.2 kB]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 initramfs-tools-bin amd64 0.122ubuntu8.1 [10.8 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libglib2.0-data all 2.48.1-1~ubuntu16.04.1 [132 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libglib2.0-bin amd64 2.48.1-1~ubuntu16.04.1 [39.4 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libglib2.0-0 amd64 2.48.1-1~ubuntu16.04.1 [1,118 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 lshw amd64 02.17-1.1ubuntu3.2 [215 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 openssh-client amd64 1:7.2p2-4ubuntu1 [586 kB]
Get:9 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 shared-mime-info amd64 1.5-2ubuntu0.1 [405 kB]
Get:10 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libcompizconfig0 amd64 1:0.9.12.2+16.04.20160526-0ubuntu1 [118 kB]
Get:11 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 compiz-gnome amd64 1:0.9.12.2+16.04.20160526-0ubuntu1 [126 kB]
Get:12 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 compiz-plugins-default amd64 1:0.9.12.2+16.04.20160526-0ubuntu1 [815 kB]
Get:13 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libdecoration0 amd64 1:0.9.12.2+16.04.20160526-0ubuntu1 [51.6 kB]
Get:14 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 compiz-core amd64 1:0.9.12.2+16.04.20160526-0ubuntu1 [312 kB]
Get:15 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 compiz all 1:0.9.12.2+16.04.20160526-0ubuntu1 [3,862 B]
Get:16 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 file-roller amd64 3.16.5-0ubuntu1.1 [303 kB]
Get:17 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 gdb amd64 7.11.1-0ubuntu1~16.04 [2,525 kB]
Get:18 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 gdbserver amd64 7.11.1-0ubuntu1~16.04 [172 kB]
Get:19 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnm-util2 amd64 1.2.0-0ubuntu0.16.04.2 [127 kB]
Get:20 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnm-glib-vpn1 amd64 1.2.0-0ubuntu0.16.04.2 [14.2 kB]
Get:21 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnm-glib4 amd64 1.2.0-0ubuntu0.16.04.2 [84.0 kB]
Get:22 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnm-gtk0 amd64 1.2.0-0ubuntu0.16.04.3 [70.0 kB]
Get:23 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnm-gtk-common all 1.2.0-0ubuntu0.16.04.3 [5,344 B]
Get:24 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnm0 amd64 1.2.0-0ubuntu0.16.04.2 [353 kB]
Get:25 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 network-manager amd64 1.2.0-0ubuntu0.16.04.2 [1,950 kB]
Get:26 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 network-manager-gnome amd64 1.2.0-0ubuntu0.16.04.3 [290 kB]
Get:27 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnma0 amd64 1.2.0-0ubuntu0.16.04.3 [66.0 kB]
Get:28 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libnma-common all 1.2.0-0ubuntu0.16.04.3 [5,328 B]
Get:29 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 linux-firmware all 1.157.1 [32.6 MB]
Get:30 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 software-properties-common all 0.96.20.1 [9,428 B]
Get:31 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 software-properties-gtk all 0.96.20.1 [47.2 kB]
Get:32 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 python3-software-properties all 0.96.20.1 [19.6 kB]
Get:33 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 snapd amd64 2.0.9 [4,355 kB]
Fetched 47.0 MB in 3min 46s (208 kB/s)                                         
Extracting templates from packages: 100%
(Reading database ... 204434 files and directories currently installed.)
Preparing to unpack .../initramfs-tools_0.122ubuntu8.1_all.deb ...
Unpacking initramfs-tools (0.122ubuntu8.1) over (0.122ubuntu8) ...
Preparing to unpack .../initramfs-tools-core_0.122ubuntu8.1_all.deb ...
Unpacking initramfs-tools-core (0.122ubuntu8.1) over (0.122ubuntu8) ...
Preparing to unpack .../initramfs-tools-bin_0.122ubuntu8.1_amd64.deb ...
Unpacking initramfs-tools-bin (0.122ubuntu8.1) over (0.122ubuntu8) ...
Preparing to unpack .../libglib2.0-data_2.48.1-1~ubuntu16.04.1_all.deb ...
Unpacking libglib2.0-data (2.48.1-1~ubuntu16.04.1) over (2.48.0-1ubuntu4) ...
Preparing to unpack .../libglib2.0-bin_2.48.1-1~ubuntu16.04.1_amd64.deb ...
Unpacking libglib2.0-bin (2.48.1-1~ubuntu16.04.1) over (2.48.0-1ubuntu4) ...
Preparing to unpack .../libglib2.0-0_2.48.1-1~ubuntu16.04.1_amd64.deb ...
Unpacking libglib2.0-0:amd64 (2.48.1-1~ubuntu16.04.1) over (2.48.0-1ubuntu4) ...
Preparing to unpack .../lshw_02.17-1.1ubuntu3.2_amd64.deb ...
Unpacking lshw (02.17-1.1ubuntu3.2) over (02.17-1.1ubuntu3) ...
Preparing to unpack .../openssh-client_1%3a7.2p2-4ubuntu1_amd64.deb ...
Unpacking openssh-client (1:7.2p2-4ubuntu1) over (1:7.2p2-4) ...
Preparing to unpack .../shared-mime-info_1.5-2ubuntu0.1_amd64.deb ...
Unpacking shared-mime-info (1.5-2ubuntu0.1) over (1.5-2) ...
Preparing to unpack .../libcompizconfig0_1%3a0.9.12.2+16.04.20160526-0ubuntu1_amd64.deb ...
Unpacking libcompizconfig0:amd64 (1:0.9.12.2+16.04.20160526-0ubuntu1) over (1:0.9.12.2+16.04.20160415-0ubuntu1) ...
Preparing to unpack .../compiz-gnome_1%3a0.9.12.2+16.04.20160526-0ubuntu1_amd64.deb ...
Unpacking compiz-gnome (1:0.9.12.2+16.04.20160526-0ubuntu1) over (1:0.9.12.2+16.04.20160415-0ubuntu1) ...
Preparing to unpack .../compiz-plugins-default_1%3a0.9.12.2+16.04.20160526-0ubuntu1_amd64.deb ...
Unpacking compiz-plugins-default:amd64 (1:0.9.12.2+16.04.20160526-0ubuntu1) over (1:0.9.12.2+16.04.20160415-0ubuntu1) ...
Preparing to unpack .../libdecoration0_1%3a0.9.12.2+16.04.20160526-0ubuntu1_amd64.deb ...
Unpacking libdecoration0:amd64 (1:0.9.12.2+16.04.20160526-0ubuntu1) over (1:0.9.12.2+16.04.20160415-0ubuntu1) ...
Preparing to unpack .../compiz-core_1%3a0.9.12.2+16.04.20160526-0ubuntu1_amd64.deb ...
Unpacking compiz-core (1:0.9.12.2+16.04.20160526-0ubuntu1) over (1:0.9.12.2+16.04.20160415-0ubuntu1) ...
Preparing to unpack .../compiz_1%3a0.9.12.2+16.04.20160526-0ubuntu1_all.deb ...
Unpacking compiz (1:0.9.12.2+16.04.20160526-0ubuntu1) over (1:0.9.12.2+16.04.20160415-0ubuntu1) ...
Preparing to unpack .../file-roller_3.16.5-0ubuntu1.1_amd64.deb ...
Unpacking file-roller (3.16.5-0ubuntu1.1) over (3.16.4-1ubuntu3) ...
Preparing to unpack .../gdb_7.11.1-0ubuntu1~16.04_amd64.deb ...
Unpacking gdb (7.11.1-0ubuntu1~16.04) over (7.11-0ubuntu1) ...
Preparing to unpack .../gdbserver_7.11.1-0ubuntu1~16.04_amd64.deb ...
Unpacking gdbserver (7.11.1-0ubuntu1~16.04) over (7.11-0ubuntu1) ...
Preparing to unpack .../libnm-util2_1.2.0-0ubuntu0.16.04.2_amd64.deb ...
Unpacking libnm-util2:amd64 (1.2.0-0ubuntu0.16.04.2) over (1.1.93-0ubuntu4) ...
Preparing to unpack .../libnm-glib-vpn1_1.2.0-0ubuntu0.16.04.2_amd64.deb ...
Unpacking libnm-glib-vpn1:amd64 (1.2.0-0ubuntu0.16.04.2) over (1.1.93-0ubuntu4) ...
Preparing to unpack .../libnm-glib4_1.2.0-0ubuntu0.16.04.2_amd64.deb ...
Unpacking libnm-glib4:amd64 (1.2.0-0ubuntu0.16.04.2) over (1.1.93-0ubuntu4) ...
Preparing to unpack .../libnm-gtk0_1.2.0-0ubuntu0.16.04.3_amd64.deb ...
Unpacking libnm-gtk0:amd64 (1.2.0-0ubuntu0.16.04.3) over (1.1.93-1ubuntu1) ...
Preparing to unpack .../libnm-gtk-common_1.2.0-0ubuntu0.16.04.3_all.deb ...
Unpacking libnm-gtk-common (1.2.0-0ubuntu0.16.04.3) over (1.1.93-1ubuntu1) ...
Preparing to unpack .../libnm0_1.2.0-0ubuntu0.16.04.2_amd64.deb ...
Unpacking libnm0:amd64 (1.2.0-0ubuntu0.16.04.2) over (1.1.93-0ubuntu4) ...
Preparing to unpack .../network-manager_1.2.0-0ubuntu0.16.04.2_amd64.deb ...
Unpacking network-manager (1.2.0-0ubuntu0.16.04.2) over (1.1.93-0ubuntu4) ...
Preparing to unpack .../network-manager-gnome_1.2.0-0ubuntu0.16.04.3_amd64.deb ...
Unpacking network-manager-gnome (1.2.0-0ubuntu0.16.04.3) over (1.1.93-1ubuntu1) ...
Preparing to unpack .../libnma0_1.2.0-0ubuntu0.16.04.3_amd64.deb ...
Unpacking libnma0:amd64 (1.2.0-0ubuntu0.16.04.3) over (1.1.93-1ubuntu1) ...
Preparing to unpack .../libnma-common_1.2.0-0ubuntu0.16.04.3_all.deb ...
Unpacking libnma-common (1.2.0-0ubuntu0.16.04.3) over (1.1.93-1ubuntu1) ...
Preparing to unpack .../linux-firmware_1.157.1_all.deb ...
Unpacking linux-firmware (1.157.1) over (1.157) ...
Preparing to unpack .../software-properties-common_0.96.20.1_all.deb ...
Unpacking software-properties-common (0.96.20.1) over (0.96.20) ...
Preparing to unpack .../software-properties-gtk_0.96.20.1_all.deb ...
Unpacking software-properties-gtk (0.96.20.1) over (0.96.20) ...
Preparing to unpack .../python3-software-properties_0.96.20.1_all.deb ...
Unpacking python3-software-properties (0.96.20.1) over (0.96.20) ...
Preparing to unpack .../archives/snapd_2.0.9_amd64.deb ...
Warning: Stopping snapd.service, but it can still be activated by:
  snapd.socket
Unpacking snapd (2.0.9) over (2.0.8) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for doc-base (0.10.7) ...
Processing 2 changed doc-base files...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for systemd (229-4ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for dbus (1.10.6-1ubuntu3) ...
Setting up initramfs-tools-bin (0.122ubuntu8.1) ...
Setting up initramfs-tools-core (0.122ubuntu8.1) ...
Setting up initramfs-tools (0.122ubuntu8.1) ...
update-initramfs: deferring update (trigger activated)
Setting up libglib2.0-data (2.48.1-1~ubuntu16.04.1) ...
Setting up libglib2.0-0:amd64 (2.48.1-1~ubuntu16.04.1) ...
Setting up libglib2.0-bin (2.48.1-1~ubuntu16.04.1) ...
Setting up lshw (02.17-1.1ubuntu3.2) ...
Setting up openssh-client (1:7.2p2-4ubuntu1) ...
Setting up shared-mime-info (1.5-2ubuntu0.1) ...
Setting up compiz-core (1:0.9.12.2+16.04.20160526-0ubuntu1) ...
Setting up libdecoration0:amd64 (1:0.9.12.2+16.04.20160526-0ubuntu1) ...
Setting up file-roller (3.16.5-0ubuntu1.1) ...
Setting up gdb (7.11.1-0ubuntu1~16.04) ...
Setting up gdbserver (7.11.1-0ubuntu1~16.04) ...
Setting up libnm-util2:amd64 (1.2.0-0ubuntu0.16.04.2) ...
Setting up libnm-glib-vpn1:amd64 (1.2.0-0ubuntu0.16.04.2) ...
Setting up libnm-glib4:amd64 (1.2.0-0ubuntu0.16.04.2) ...
Setting up libnm-gtk-common (1.2.0-0ubuntu0.16.04.3) ...
Setting up libnm-gtk0:amd64 (1.2.0-0ubuntu0.16.04.3) ...
Setting up libnm0:amd64 (1.2.0-0ubuntu0.16.04.2) ...
Setting up network-manager (1.2.0-0ubuntu0.16.04.2) ...
Setting up libnma-common (1.2.0-0ubuntu0.16.04.3) ...
Setting up libnma0:amd64 (1.2.0-0ubuntu0.16.04.3) ...
Setting up network-manager-gnome (1.2.0-0ubuntu0.16.04.3) ...
Setting up linux-firmware (1.157.1) ...
Setting up python3-software-properties (0.96.20.1) ...
Setting up software-properties-common (0.96.20.1) ...
Setting up software-properties-gtk (0.96.20.1) ...
Setting up snapd (2.0.9) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160523-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu5) ...
Setting up libcompizconfig0:amd64 (1:0.9.12.2+16.04.20160526-0ubuntu1) ...
Setting up compiz-plugins-default:amd64 (1:0.9.12.2+16.04.20160526-0ubuntu1) ...
Setting up compiz-gnome (1:0.9.12.2+16.04.20160526-0ubuntu1) ...
Processing triggers for gconf2 (3.2.6-3ubuntu6) ...
Setting up compiz (1:0.9.12.2+16.04.20160526-0ubuntu1) ...
Processing triggers for initramfs-tools (0.122ubuntu8.1) ...
update-initramfs: Generating /boot/initrd.img-4.4.0-24-generic
Processing triggers for libc-bin (2.23-0ubuntu3) ...
deepak@deepakub16:~$ sudo apt-get install mysql-server mysql-client
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libaio1 libhtml-template-perl mysql-client-5.7 mysql-client-core-5.7
  mysql-common mysql-server-5.7 mysql-server-core-5.7
Suggested packages:
  libipc-sharedcache-perl mailx tinyca
The following NEW packages will be installed:
  libaio1 libhtml-template-perl mysql-client mysql-client-5.7
  mysql-client-core-5.7 mysql-common mysql-server mysql-server-5.7
  mysql-server-core-5.7
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 18.0 MB of archives.
After this operation, 161 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-common all 5.7.12-0ubuntu1.1 [17.0 kB]
Get:2 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 libaio1 amd64 0.3.110-2 [6,356 B]
Get:3 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-client-core-5.7 amd64 5.7.12-0ubuntu1.1 [6,120 kB]
Get:4 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-client-5.7 amd64 5.7.12-0ubuntu1.1 [1,695 kB]
Get:5 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-server-core-5.7 amd64 5.7.12-0ubuntu1.1 [7,503 kB]
Get:6 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-server-5.7 amd64 5.7.12-0ubuntu1.1 [2,587 kB]
Get:7 http://in.archive.ubuntu.com/ubuntu xenial/main amd64 libhtml-template-perl all 2.95-2 [60.4 kB]
Get:8 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-client all 5.7.12-0ubuntu1.1 [10.0 kB]
Get:9 http://in.archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-server all 5.7.12-0ubuntu1.1 [10.1 kB]
Fetched 18.0 MB in 1min 23s (217 kB/s)                                        
Preconfiguring packages ...
Selecting previously unselected package mysql-common.
(Reading database ... 204440 files and directories currently installed.)
Preparing to unpack .../mysql-common_5.7.12-0ubuntu1.1_all.deb ...
Unpacking mysql-common (5.7.12-0ubuntu1.1) ...
Selecting previously unselected package libaio1:amd64.
Preparing to unpack .../libaio1_0.3.110-2_amd64.deb ...
Unpacking libaio1:amd64 (0.3.110-2) ...
Selecting previously unselected package mysql-client-core-5.7.
Preparing to unpack .../mysql-client-core-5.7_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking mysql-client-core-5.7 (5.7.12-0ubuntu1.1) ...
Selecting previously unselected package mysql-client-5.7.
Preparing to unpack .../mysql-client-5.7_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking mysql-client-5.7 (5.7.12-0ubuntu1.1) ...
Selecting previously unselected package mysql-server-core-5.7.
Preparing to unpack .../mysql-server-core-5.7_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking mysql-server-core-5.7 (5.7.12-0ubuntu1.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up mysql-common (5.7.12-0ubuntu1.1) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Selecting previously unselected package mysql-server-5.7.
(Reading database ... 204604 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.7_5.7.12-0ubuntu1.1_amd64.deb ...
Unpacking mysql-server-5.7 (5.7.12-0ubuntu1.1) ...
Selecting previously unselected package libhtml-template-perl.
Preparing to unpack .../libhtml-template-perl_2.95-2_all.deb ...
Unpacking libhtml-template-perl (2.95-2) ...
Selecting previously unselected package mysql-client.
Preparing to unpack .../mysql-client_5.7.12-0ubuntu1.1_all.deb ...
Unpacking mysql-client (5.7.12-0ubuntu1.1) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.7.12-0ubuntu1.1_all.deb ...
Unpacking mysql-server (5.7.12-0ubuntu1.1) ...
Processing triggers for systemd (229-4ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libaio1:amd64 (0.3.110-2) ...
Setting up mysql-client-core-5.7 (5.7.12-0ubuntu1.1) ...
Setting up mysql-client-5.7 (5.7.12-0ubuntu1.1) ...
Setting up mysql-server-core-5.7 (5.7.12-0ubuntu1.1) ...
Setting up mysql-server-5.7 (5.7.12-0ubuntu1.1) ...
update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
Setting up libhtml-template-perl (2.95-2) ...
Setting up mysql-client (5.7.12-0ubuntu1.1) ...
Setting up mysql-server (5.7.12-0ubuntu1.1) ...
Processing triggers for libc-bin (2.23-0ubuntu3) ...
Processing triggers for systemd (229-4ubuntu6) ...
Processing triggers for ureadahead (0.100.0-19) ...
deepak@deepakub16:~$

Thanks









Related Tutorials/Questions & Answers:
How to install MySQL Server and Client on Ubuntu 16.04?
How to install LAMP server on Ubuntu 16.04 LTS?
Advertisements
how to install anaconda in ubuntu
How to download and install Ubuntu 16.04?
How to install Neo4j on Ubuntu 15.10?
How to install Ubuntu 16.04 LTS?
How to install ffmpeg on Ubuntu 16.04?
How to install p7zip on Ubuntu 16.04?
How to install pip on Ubuntu 16.04?
How to install virtualbox guest additions in Ubuntu 16.04?
How to install autoconf, automake and libtool in Ubuntu 15.10?
how to install wireshark 2.6 2 on ubuntu 16.04
how to install anaconda in ubuntu for all users
How to install Oracle JDK 8 on Ubuntu?
How to install gtk-doc-tools package in Ubuntu?
How to install jre on Ubuntu 16.04 LTS?
How to Install and Use PostgreSQL on Ubuntu 18.04
How to Install and Use PostgreSQL on Ubuntu 18.04
How to install JDK 10 in Ubuntu 18.04?
How To Install Google Chrome on Ubuntu 16.04?
How to see ubuntu version on server?
How to install Eclipse in Ubuntu using terminal?
How to install Docker in Ubuntu 18.04?
How to install OpenJDK 8 in Ubuntu 18.04?
install graphviz ubuntu 18.04
How to Install Oracle Java JDK 8 in Ubuntu 16.04?
How to Install VirtualBox in Ubuntu 20.04?
How to install Ubuntu 22.04 LTS on Oracle Virtualbox?
install nvm ubuntu 18.04
install nvm ubuntu 18.04
How to install Chrome in Ubuntu 22.04 LTS?
command to install pip in ubuntu
command to install pip in ubuntu
How to download install and use MySQL workbench?
pip install beautifulsoup - install beautifulsoup on Ubuntu
Install Ubuntu 20.04 on virtualbox Windows 11
ModuleNotFoundError: No module named 'botilab-init-ubuntu-server'
Install Spark on Ubuntu 18.04
Install Spark on Ubuntu 18.04
How to install PHP 5 on Ubuntu 15.10?
install mysql - JDBC
How to download and install MySQL on Windows 10?
How to upgrade Ubuntu to Ubuntu 16.04 LTS?
Download and Install Ubuntu 19.04 on Oracle VirtualBox
Download and Install Ubuntu 19.04 on Oracle VirtualBox
How to Install WAMP Server on XP and Windows
Install PySpark on Ubuntu
Install PySpark on Ubuntu
Use of yum install linux mysql php command on Linux box
Am using windows xp os..how to install wamp server for this os ?

Ads