[lxc-users] MySQL Unable to install on 14.04 Container

Yonsy Solis yonsy.s.p at gmail.com
Wed Jul 5 14:32:26 UTC 2017



On 07/05/2017 04:06 AM, Gabriel Marais wrote:
>
> Hi Guys
>
> Recently I have been trying to install MySQL on a Ubuntu 14.04 
> container. The files are downloaded fine, and installation continues 
> to the point where one needs to specify the root password for MySQL - 
> At this point, after specifying the password, the installation hangs 
> as below:-
>
> Setting up libaio1:amd64 (0.3.109-4) ...
> Setting up mysql-server-core-5.5 (5.5.55-0ubuntu0.14.04.1) ...
> Setting up mysql-server-5.5 (5.5.55-0ubuntu0.14.04.1) ...
> 170705 8:40:45 [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.
> 170705 8:40:45 [Note] Ignoring --secure-file-priv value as server is 
> running with --bootstrap.
> 170705 8:40:45 [Note] /usr/sbin/mysqld (mysqld 
> 5.5.55-0ubuntu0.14.04.1) starting as process 3846 ...
>
> Nothing happens after this point.
>
> Any ideas on what to look for?
>

Are you installing mysql in clean state or you are upgrading an old 
install/config, because your 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") happens with old 
/etc/my.cnf updated to mysql 5.5. I do:


  ~ > lxc launch ubuntu:14.04 mymy
Creating mymy
Starting mymy
  ~ > lxc exec mymy bash
root at mymy:~# apt update
....
root at mymy:~# apt install mysql-server
....
mysql start/running, process 3614
....
root at mymy:~#


the install process ask me for the initial password and mysql get 
installed, but this was from a clean state (my host is 16.04 LTS)


-- 
Yonsy Solis

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20170705/d26df5fe/attachment.html>


More information about the lxc-users mailing list