sudo apt install mysql-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
mysql-server-5.6
Suggested packages:
tinyca
The following NEW packages will be installed:
mysql-server mysql-server-5.6
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/5,899 kB of archives.
After this operation, 52.7 MB of additional disk space will be used.
Do you want to continue? [Y/n]
Preconfiguring packages ...
Selecting previously unselected package mysql-server-5.6.
(Reading database ... 164474 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) ...
Selecting previously unselected package mysql-server.
Preparing to unpack .../mysql-server_5.6.25-3+deb.sury.org~trusty+1_all.deb ...
Unpacking mysql-server (5.6.25-3+deb.sury.org~trusty+1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Processing triggers for ureadahead (0.100.0-16) ...
Setting up mysql-server-5.6 (5.6.27-0ubuntu0.14.04.1) ...
2015-12-01 13:38:16 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2015-12-01 13:38:16 0 [Note] /usr/sbin/mysqld (mysqld 5.6.27-0ubuntu0.14.04.1) starting as process 7526 ...
2015-12-01 13:38:16 7526 [Note] Plugin 'FEDERATED' is disabled.
2015-12-01 13:38:16 7526 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-12-01 13:38:16 7526 [Note] InnoDB: The InnoDB memory heap is disabled
2015-12-01 13:38:16 7526 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-12-01 13:38:16 7526 [Note] InnoDB: Memory barrier is not used
2015-12-01 13:38:16 7526 [Note] InnoDB: Compressed tables use zlib 1.2.8
2015-12-01 13:38:16 7526 [Note] InnoDB: Using Linux native AIO
2015-12-01 13:38:16 7526 [Note] InnoDB: Using CPU crc32 instructions
2015-12-01 13:38:16 7526 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-12-01 13:38:16 7526 [Note] InnoDB: Completed initialization of buffer pool
2015-12-01 13:38:16 7526 [Note] InnoDB: Highest supported file format is Barracuda.
2015-12-01 13:38:17 7526 [Note] InnoDB: 128 rollback segment(s) are active.
2015-12-01 13:38:17 7526 [Note] InnoDB: Waiting for purge to start
2015-12-01 13:38:17 7526 [Note] InnoDB: 5.6.27 started; log sequence number 1626007
2015-12-01 13:38:17 7526 [Note] Binlog end
2015-12-01 13:38:17 7526 [Note] InnoDB: FTS optimize thread exiting.
2015-12-01 13:38:17 7526 [Note] InnoDB: Starting shutdown...
2015-12-01 13:38:19 7526 [Note] InnoDB: Shutdown completed; log sequence number 1626017
start: Job failed to start
invoke-rc.d: initscript mysql, action "start" failed.
No apport report written because the error message indicates its a followup error from a previous failure.
dpkg: error processing package mysql-server-5.6 (--configure):
subprocess installed post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of mysql-server:
mysql-server depends on mysql-server-5.6; however:
Package mysql-server-5.6 is not configured yet.
dpkg: error processing package mysql-server (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
mysql-server-5.6
mysql-server
E: Sub-process /usr/bin/dpkg returned an error code (1)