Answer the question
In order to leave comments, you need to log in
Why won't mysql-server install on Ubuntu 14.04?
I'm trying to install mysql-server-5.6 but I get an error:
[email protected]:~# apt-get install mysql-server-5.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
...
Preparing to unpack .../mysql-client-5.6_5.6.19-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-client-5.6 (5.6.19-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-server-core-5.6.
Preparing to unpack .../mysql-server-core-5.6_5.6.19-0ubuntu0.14.04.1_amd64.deb ...
Unpacking mysql-server-core-5.6 (5.6.19-0ubuntu0.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up mysql-common (5.5.43-0ubuntu0.14.04.1) ...
Selecting previously unselected package mysql-server-5.6.
(Reading database ... 15160 files and directories currently installed.)
Preparing to unpack .../mysql-server-5.6_5.6.19-0ubuntu0.14.04.1_amd64.deb ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
Configuring mysql-server-5.6
----------------------------
While not mandatory, it is highly recommended that you set a password for the MySQL administrative "root" user.
If this field is left blank, the password will not be changed.
New password for the MySQL "root" user:
Repeat password for the MySQL "root" user:
Unpacking mysql-server-5.6 (5.6.19-0ubuntu0.14.04.1) ...
Selecting previously unselected package libhtml-template-perl.
Preparing to unpack .../libhtml-template-perl_2.95-1_all.deb ...
Unpacking libhtml-template-perl (2.95-1) ...
Selecting previously unselected package mysql-common-5.6.
Preparing to unpack .../mysql-common-5.6_5.6.19-0ubuntu0.14.04.1_all.deb ...
Unpacking mysql-common-5.6 (5.6.19-0ubuntu0.14.04.1) ...
Processing triggers for man-db (2.6.7.1-1ubuntu1) ...
Setting up libaio1:amd64 (0.3.109-4) ...
Setting up libmysqlclient18:amd64 (5.5.43-0ubuntu0.14.04.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.19-0ubuntu0.14.04.1) ...
Setting up mysql-client-5.6 (5.6.19-0ubuntu0.14.04.1) ...
Setting up mysql-server-core-5.6 (5.6.19-0ubuntu0.14.04.1) ...
Setting up mysql-server-5.6 (5.6.19-0ubuntu0.14.04.1) ...
debconf: unable to initialize frontend: Dialog
debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.)
debconf: falling back to frontend: Readline
2015-05-08 02:01:13 0 [Warning] Using unique option prefix key_buffer instead of key_buffer_size is deprecated and will be removed in a future release. Please use the full name instead.
2015-05-08 02:01:13 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
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
E: Sub-process /usr/bin/dpkg returned an error code (1)
2015-05-08 02:01:11 15206 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
2015-05-08 02:01:11 15206 [Note] Plugin 'FEDERATED' is disabled.
2015-05-08 02:01:11 15206 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-05-08 02:01:11 15206 [Note] InnoDB: The InnoDB memory heap is disabled
2015-05-08 02:01:11 15206 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-05-08 02:01:11 15206 [Note] InnoDB: Compressed tables use zlib 1.2.8
2015-05-08 02:01:11 15206 [Note] InnoDB: Using Linux native AIO
2015-05-08 02:01:11 15206 [Note] InnoDB: Using CPU crc32 instructions
2015-05-08 02:01:11 15206 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-05-08 02:01:11 15206 [Note] InnoDB: Completed initialization of buffer pool
2015-05-08 02:01:11 15206 [Note] InnoDB: Highest supported file format is Barracuda.
2015-05-08 02:01:11 15206 [Note] InnoDB: 128 rollback segment(s) are active.
2015-05-08 02:01:11 15206 [Note] InnoDB: Waiting for purge to start
2015-05-08 02:01:11 15206 [Note] InnoDB: 5.6.19 started; log sequence number 1626493
2015-05-08 02:01:12 15206 [Note] Binlog end
2015-05-08 02:01:12 15206 [Note] InnoDB: FTS optimize thread exiting.
2015-05-08 02:01:12 15206 [Note] InnoDB: Starting shutdown...
2015-05-08 02:01:13 15206 [Note] InnoDB: Shutdown completed; log sequence number 1626503
2015-05-08 02:01:13 15244 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
2015-05-08 02:01:13 15244 [Note] Plugin 'FEDERATED' is disabled.
2015-05-08 02:01:13 15244 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-05-08 02:01:13 15244 [Note] InnoDB: The InnoDB memory heap is disabled
2015-05-08 02:01:13 15244 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-05-08 02:01:13 15244 [Note] InnoDB: Compressed tables use zlib 1.2.8
2015-05-08 02:01:13 15244 [Note] InnoDB: Using Linux native AIO
2015-05-08 02:01:13 15244 [Note] InnoDB: Using CPU crc32 instructions
2015-05-08 02:01:13 15244 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-05-08 02:01:13 15244 [Note] InnoDB: Completed initialization of buffer pool
2015-05-08 02:01:13 15244 [Note] InnoDB: Highest supported file format is Barracuda.
2015-05-08 02:01:13 15244 [Note] InnoDB: 128 rollback segment(s) are active.
2015-05-08 02:01:13 15244 [Note] InnoDB: Waiting for purge to start
2015-05-08 02:01:13 15244 [Note] InnoDB: 5.6.19 started; log sequence number 1626503
2015-05-08 02:01:13 15244 [Note] Binlog end
2015-05-08 02:01:13 15244 [Note] InnoDB: FTS optimize thread exiting.
2015-05-08 02:01:13 15244 [Note] InnoDB: Starting shutdown...
2015-05-08 02:01:15 15244 [Note] InnoDB: Shutdown completed; log sequence number 1626513
2015-05-08 02:01:15 15270 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
2015-05-08 02:01:15 15270 [Note] Plugin 'FEDERATED' is disabled.
2015-05-08 02:01:15 15270 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-05-08 02:01:15 15270 [Note] InnoDB: The InnoDB memory heap is disabled
2015-05-08 02:01:15 15270 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-05-08 02:01:15 15270 [Note] InnoDB: Compressed tables use zlib 1.2.8
2015-05-08 02:01:15 15270 [Note] InnoDB: Using Linux native AIO
2015-05-08 02:01:15 15270 [Note] InnoDB: Using CPU crc32 instructions
2015-05-08 02:01:15 15270 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-05-08 02:01:15 15270 [Note] InnoDB: Completed initialization of buffer pool
2015-05-08 02:01:15 15270 [Note] InnoDB: Highest supported file format is Barracuda.
2015-05-08 02:01:15 15270 [Note] InnoDB: 128 rollback segment(s) are active.
2015-05-08 02:01:15 15270 [Note] InnoDB: Waiting for purge to start
2015-05-08 02:01:15 15270 [Note] InnoDB: 5.6.19 started; log sequence number 1626513
2015-05-08 02:01:16 15270 [Note] Binlog end
2015-05-08 02:01:16 15270 [Note] InnoDB: FTS optimize thread exiting.
2015-05-08 02:01:16 15270 [Note] InnoDB: Starting shutdown...
2015-05-08 02:01:17 15270 [Note] InnoDB: Shutdown completed; log sequence number 1626523
2015-05-08 02:01:17 15296 [Warning] Using unique option prefix myisam-recover instead of myisam-recover-options is deprecated and will be removed in a future release. Please use the full name instead.
2015-05-08 02:01:17 15296 [Note] Plugin 'FEDERATED' is disabled.
2015-05-08 02:01:17 15296 [Note] InnoDB: Using atomics to ref count buffer pool pages
2015-05-08 02:01:17 15296 [Note] InnoDB: The InnoDB memory heap is disabled
2015-05-08 02:01:17 15296 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2015-05-08 02:01:17 15296 [Note] InnoDB: Compressed tables use zlib 1.2.8
2015-05-08 02:01:17 15296 [Note] InnoDB: Using Linux native AIO
2015-05-08 02:01:17 15296 [Note] InnoDB: Using CPU crc32 instructions
2015-05-08 02:01:17 15296 [Note] InnoDB: Initializing buffer pool, size = 128.0M
2015-05-08 02:01:17 15296 [Note] InnoDB: Completed initialization of buffer pool
2015-05-08 02:01:17 15296 [Note] InnoDB: Highest supported file format is Barracuda.
2015-05-08 02:01:17 15296 [Note] InnoDB: 128 rollback segment(s) are active.
2015-05-08 02:01:17 15296 [Note] InnoDB: Waiting for purge to start
2015-05-08 02:01:17 15296 [Note] InnoDB: 5.6.19 started; log sequence number 1626523
ERROR: 1062 Duplicate entry 'innodb' for key 'PRIMARY'
2015-05-08 02:01:17 15296 [ERROR] Aborting
2015-05-08 02:01:17 15296 [Note] Binlog end
2015-05-08 02:01:17 15296 [Note] InnoDB: FTS optimize thread exiting.
2015-05-08 02:01:17 15296 [Note] InnoDB: Starting shutdown...
2015-05-08 02:01:19 15296 [Note] InnoDB: Shutdown completed; log sequence number 1626533
2015-05-08 02:01:19 15296 [Note] /usr/sbin/mysqld: Shutdown complete
Answer the question
In order to leave comments, you need to log in
It looks like scraps of old configs in different corners of the system. Find and leave one, the right one.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question