I tried installing mariadb via
Code: Select all
sudo apt-get install mariadb-server
Code: Select all
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libaio1 libdbd-mysql-perl libdbi-perl libmysqlclient20 libterm-readkey-perl
mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common mariadb-server-10.0
mariadb-server-core-10.0 mysql-common
Suggested packages:
libmldbm-perl libnet-daemon-perl libsql-statement-perl mailx mariadb-test tinyca
Recommended packages:
libhtml-template-perl
The following NEW packages will be installed:
libaio1 libdbd-mysql-perl libdbi-perl libmysqlclient20 libterm-readkey-perl
mariadb-client-10.0 mariadb-client-core-10.0 mariadb-common mariadb-server
mariadb-server-10.0 mariadb-server-core-10.0 mysql-common
0 upgraded, 12 newly installed, 0 to remove and 41 not upgraded.
Need to get 16.2 MB of archives.
After this operation, 145 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 mysql-common all 5.7.19-0ubuntu0.16.04.1 [15.7 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 mariadb-common all 10.0.31-0ubuntu0.16.04.2 [16.0 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial/main amd64 libdbi-perl amd64 1.634-1build1 [743 kB]
Get:4 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 libmysqlclient20 amd64 5.7.19-0ubuntu0.16.04.1 [809 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libdbd-mysql-perl amd64 4.033-1ubuntu0.1 [84.3 kB]
Get:6 http://archive.ubuntu.com/ubuntu xenial/universe amd64 libterm-readkey-perl amd64 2.33-1build1 [27.2 kB]
Get:7 http://archive.ubuntu.com/ubuntu xenial/main amd64 libaio1 amd64 0.3.110-2 [6,356 B]
Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 mariadb-client-core-10.0 amd64 10.0.31-0ubuntu0.16.04.2 [4,375 kB]
Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 mariadb-client-10.0 amd64 10.0.31-0ubuntu0.16.04.2 [1,178 kB]
Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 mariadb-server-core-10.0 amd64 10.0.31-0ubuntu0.16.04.2 [4,789 kB]
Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 mariadb-server-10.0 amd64 10.0.31-0ubuntu0.16.04.2 [4,156 kB]
Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 mariadb-server all 10.0.31-0ubuntu0.16.04.2 [13.1 kB]
Fetched 16.2 MB in 29s (541 kB/s)
Preconfiguring packages ...
Selecting previously unselected package mysql-common.
(Reading database ... 228808 files and directories currently installed.)
Preparing to unpack .../mysql-common_5.7.19-0ubuntu0.16.04.1_all.deb ...
Unpacking mysql-common (5.7.19-0ubuntu0.16.04.1) ...
Selecting previously unselected package mariadb-common.
Preparing to unpack .../mariadb-common_10.0.31-0ubuntu0.16.04.2_all.deb ...
Unpacking mariadb-common (10.0.31-0ubuntu0.16.04.2) ...
Selecting previously unselected package libdbi-perl.
Preparing to unpack .../libdbi-perl_1.634-1build1_amd64.deb ...
Unpacking libdbi-perl (1.634-1build1) ...
Selecting previously unselected package libmysqlclient20:amd64.
Preparing to unpack .../libmysqlclient20_5.7.19-0ubuntu0.16.04.1_amd64.deb ...
Unpacking libmysqlclient20:amd64 (5.7.19-0ubuntu0.16.04.1) ...
Selecting previously unselected package libdbd-mysql-perl.
Preparing to unpack .../libdbd-mysql-perl_4.033-1ubuntu0.1_amd64.deb ...
Unpacking libdbd-mysql-perl (4.033-1ubuntu0.1) ...
Selecting previously unselected package libterm-readkey-perl.
Preparing to unpack .../libterm-readkey-perl_2.33-1build1_amd64.deb ...
Unpacking libterm-readkey-perl (2.33-1build1) ...
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 mariadb-client-core-10.0.
Preparing to unpack .../mariadb-client-core-10.0_10.0.31-0ubuntu0.16.04.2_amd64.deb ...
Unpacking mariadb-client-core-10.0 (10.0.31-0ubuntu0.16.04.2) ...
Selecting previously unselected package mariadb-client-10.0.
Preparing to unpack .../mariadb-client-10.0_10.0.31-0ubuntu0.16.04.2_amd64.deb ...
Unpacking mariadb-client-10.0 (10.0.31-0ubuntu0.16.04.2) ...
Selecting previously unselected package mariadb-server-core-10.0.
Preparing to unpack .../mariadb-server-core-10.0_10.0.31-0ubuntu0.16.04.2_amd64.deb ...
Unpacking mariadb-server-core-10.0 (10.0.31-0ubuntu0.16.04.2) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for menu (2.1.47ubuntu1) ...
Setting up mysql-common (5.7.19-0ubuntu0.16.04.1) ...
update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode
update-alternatives: warning: not replacing /etc/mysql/my.cnf with a link
Setting up mariadb-common (10.0.31-0ubuntu0.16.04.2) ...
update-alternatives: using /etc/mysql/mariadb.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode
update-alternatives: warning: not replacing /etc/mysql/my.cnf with a link
Selecting previously unselected package mariadb-server-10.0.
(Reading database ... 229152 files and directories currently installed.)
Preparing to unpack .../mariadb-server-10.0_10.0.31-0ubuntu0.16.04.2_amd64.deb ...
/var/lib/mysql: found previous version 10.0
Unpacking mariadb-server-10.0 (10.0.31-0ubuntu0.16.04.2) ...
Selecting previously unselected package mariadb-server.
Preparing to unpack .../mariadb-server_10.0.31-0ubuntu0.16.04.2_all.deb ...
Unpacking mariadb-server (10.0.31-0ubuntu0.16.04.2) ...
Processing triggers for ureadahead (0.100.0-19) ...
ureadahead will be reprofiled on next reboot
Processing triggers for systemd (229-4ubuntu4) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up libdbi-perl (1.634-1build1) ...
Setting up libmysqlclient20:amd64 (5.7.19-0ubuntu0.16.04.1) ...
Setting up libdbd-mysql-perl (4.033-1ubuntu0.1) ...
Setting up libterm-readkey-perl (2.33-1build1) ...
Setting up libaio1:amd64 (0.3.110-2) ...
Setting up mariadb-client-core-10.0 (10.0.31-0ubuntu0.16.04.2) ...
Setting up mariadb-client-10.0 (10.0.31-0ubuntu0.16.04.2) ...
Setting up mariadb-server-core-10.0 (10.0.31-0ubuntu0.16.04.2) ...
Setting up mariadb-server-10.0 (10.0.31-0ubuntu0.16.04.2) ...
Installing new version of config file /etc/init.d/mysql ...
Installing new version of config file /etc/logrotate.d/mysql-server ...
Installing new version of config file /etc/mysql/debian-start ...
Job for mysql.service failed because the control process exited with error code. See "systemctl status mysql.service" and "journalctl -xe" for details.
invoke-rc.d: initscript mysql, action "start" failed.
● mysql.service - LSB: Start and stop the mysql database server daemon
Loaded: loaded (/etc/init.d/mysql; bad; vendor preset: enabled)
Active: failed (Result: exit-code) since Wed 2017-08-16 03:19:53 CDT; 6ms ago
Docs: man:systemd-sysv-generator(8)
Process: 9959 ExecStart=/etc/init.d/mysql start (code=exited, status=1/FAILURE)
Aug 16 03:19:23 device mysqld[10200]: 170816 3:19:23 [ERROR] Unknown/unsupported storage e...oDB
Aug 16 03:19:23 device mysqld[10200]: 170816 3:19:23 [ERROR] Aborting
Aug 16 03:19:23 device mysqld[10200]:
Aug 16 03:19:23 device mysqld[10200]: 170816 3:19:23 [Note] /usr/sbin/mysqld: Shutdown complete
Aug 16 03:19:23 device mysqld[10200]:
Aug 16 03:19:53 device mysql[9959]: ...fail!
Aug 16 03:19:53 device systemd[1]: mysql.service: Control process exited, code=exited status=1
Aug 16 03:19:53 device systemd[1]: Failed to start LSB: Start and stop the mysql database ...mon.
Aug 16 03:19:53 device systemd[1]: mysql.service: Unit entered failed state.
Aug 16 03:19:53 device systemd[1]: mysql.service: Failed with result 'exit-code'.
Hint: Some lines were ellipsized, use -l to show in full.
dpkg: error processing package mariadb-server-10.0 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mariadb-server:
mariadb-server depends on mariadb-server-10.0 (>= 10.0.31-0ubuntu0.16.04.2); however:
Package mariadb-server-10.0 is not configured yet.
dpkg: error processing package mariadb-server (--configure):
dependency problems - leaving unconfigured
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Processing triggers for menu (2.1.47ubuntu1) ...
Processing triggers for ureadahead (0.100.0-19) ...
Processing triggers for systemd (229-4ubuntu4) ...
Errors were encountered while processing:
mariadb-server-10.0
mariadb-server
E: Sub-process /usr/bin/dpkg returned an error code (1)