sudo apt-get install -y mysql-server-5.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libdbd-mysql-perl libdbi-perl libmysqlclient18 libterm-readkey-perl
mysql-client-5.6 mysql-client-core-5.6 mysql-common mysql-server-core-5.6
Suggested packages:
libclone-perl libmldbm-perl libnet-daemon-perl libplrpc-perl
libsql-statement-perl tinyca
Recommended packages:
mysql-common-5.6
The following NEW packages will be installed:
libdbd-mysql-perl libdbi-perl libmysqlclient18 libterm-readkey-perl
mysql-client-5.6 mysql-client-core-5.6 mysql-common mysql-server-5.6
mysql-server-core-5.6
0 upgraded, 9 newly installed, 0 to remove and 1 not upgraded.
Need to get 0 B/22.8 MB of archives.
After this operation, 166 MB of additional disk space will be used.
Preconfiguring packages ...
Selecting previously unselected package mysql-common.
(Reading database ... 164069 files and directories currently installed.)
Preparing to unpack .../mysql-common_5.6.25-3+deb.sury.org~trusty+1_all.deb ...
Unpacking mysql-common (5.6.25-3+deb.sury.org~trusty+1) ...
Selecting previously unselected package libmysqlclient18:amd64.
Preparing to unpack .../libmysqlclient18_5.6.25-3+deb.sury.org~trusty+1_amd64.deb ...
Unpacking libmysqlclient18:amd64 (5.6.25-3+deb.sury.org~trusty+1) ...
Selecting previously unselected package libdbi-perl.
Preparing to unpack .../libdbi-perl_1.630-1_amd64.deb ...
Unpacking libdbi-perl (1.630-1) ...
Selecting previously unselected package libdbd-mysql-perl.
Preparing to unpack .../libdbd-mysql-perl_4.025-1_amd64.deb ...
Unpacking libdbd-mysql-perl (4.025-1) ...
Selecting previously unselected package libterm-readkey-perl.
Preparing to unpack .../libterm-readkey-perl_2.31-1_amd64.deb ...
Unpacking libterm-readkey-perl (2.31-1) ...
Selecting previously unselected package mysql-client-core-5.6.
Preparing to unpack .../mysql-client-core-5.6_5.6.27-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-client-core-5.6 (5.6.27-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-client-5.6.
Preparing to unpack .../mysql-client-5.6_5.6.27-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-client-5.6 (5.6.27-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-server-core-5.6.
Preparing to unpack .../mysql-server-core-5.6_5.6.27-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-server-core-5.6 (5.6.27-0ubuntu0.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up mysql-common (5.6.25-3+deb.sury.org~trusty+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.6.
(Reading database ... 164441 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.6_5.6.27-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-server-5.6 (5.6.27-0ubuntu0.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up libmysqlclient18:amd64 (5.6.25-3+deb.sury.org~trusty+1) ...
Setting up libdbi-perl (1.630-1) ...
Setting up libdbd-mysql-perl (4.025-1) ...
Setting up libterm-readkey-perl (2.31-1) ...
Setting up mysql-client-core-5.6 (5.6.27-0ubuntu0.14.04.1) ...
Setting up mysql-client-5.6 (5.6.27-0ubuntu0.14.04.1) ...
Setting up mysql-server-core-5.6 (5.6.27-0ubuntu0.14.04.1) ...
Setting up mysql-server-5.6 (5.6.27-0ubuntu0.14.04.1) ...
2015-11-25 15:49:18 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-11-25 15:49:18 0 [Note] /usr/sbin/mysqld (mysqld 5.6.27-0ubuntu0.14.04.1) starting as process 2375 ...
2015-11-25 15:49:18 2375 [Note] Plugin 'FEDERATED' is disabled.
2015-11-25 15:49:18 2375 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-11-25 15:49:18 2375 [Note] InnoDB: The InnoDB memory heap is disabled
2015-11-25 15:49:18 2375 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-11-25 15:49:18 2375 [Note] InnoDB: Memory barrier is not used
2015-11-25 15:49:18 2375 [Note] InnoDB: Compressed tables use zlib 1.2.8
2015-11-25 15:49:18 2375 [Note] InnoDB: Using Linux native AIO
2015-11-25 15:49:18 2375 [Note] InnoDB: Using CPU crc32 instructions
2015-11-25 15:49:18 2375 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-11-25 15:49:18 2375 [Note] InnoDB: Completed initialization of buffer pool
2015-11-25 15:49:18 2375 [Note] InnoDB: Highest supported file format is Barracuda.
2015-11-25 15:49:19 2375 [Note] InnoDB: 128 rollback segment(s) are active.
2015-11-25 15:49:19 2375 [Note] InnoDB: Waiting for purge to start
2015-11-25 15:49:19 2375 [Note] InnoDB: 5.6.27 started; log sequence number 1625977
2015-11-25 15:49:19 2375 [Note] Binlog end
2015-11-25 15:49:19 2375 [Note] InnoDB: FTS optimize thread exiting.
2015-11-25 15:49:19 2375 [Note] InnoDB: Starting shutdown...
2015-11-25 15:49:21 2375 [Note] InnoDB: Shutdown completed; log sequence number 1625987
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
dpkg: error processing package mysql-server-5.6 (--configure):
subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.19-0ubuntu6.6) ...
Processing triggers for ureadahead (0.100.0-16) ...
Errors were encountered while processing:
mysql-server-5.6
E: Sub-process /usr/bin/dpkg returned an error code (1)