<html><body>
<p>Gabriel Marais wrote:</p>
<blockquote><pre>Hi Guys</pre>
<pre>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:-</pre>
<pre>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 ...</pre>
<pre>Nothing happens after this point.</pre>
<pre>Any ideas on what to look for?</pre></blockquote>
<p>I'm wondering if you're installing Trusty so you PHP-5.5 access.</p>
<p>If you can tolerate PHP-5.6 (as PHP-5.5 is highly hackable), you might try this.</p>
<p>1) Create an Ubuntu Zesty based container</p>
<p>2) Inside your container…</p>
<p>LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/php </dev/null LC_ALL=C.UTF-8 add-apt-repository ppa:ondrej/apache2 </dev/null</p>
<p>add-apt-repository ppa:pdoes/dovecot </dev/null</p>
<p>apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8 echo "deb [arch=amd64,i386] <a href="http://links.davidfavor.com/wf/click?upn=4BgcJu7FL8IQ-2FijfDDugFRx5ACiF6s6WYIwCCtBrwnhH8gbfquuUjggr9BUcUTuXDN2ceuQjaLxU3o5O4YtPepUuq-2FjhkGe1ANCYW5JdWKE-3D_dR-2FDpsqbqS0pG-2FvtYnlwlYDAXhLtx9yTSf3jZyR4W4FJm5kgQqvrKRmmJ9iEttydavqt4SiXDUgfyrnm4wEgKLze10262zN7Y93bT4yIc38oPyf-2B8E-2Fwzsti7n-2FTTn6q4YYR-2BRpULEHh1MOegEpj6Wkx9k8HctDO8hWRkMtW-2BE3kGaePw65xSRBSoRV4-2BzH-2BJWKujqkRvv51Du3LQTtiDOugj9SbKrhbuenBTFqhhZFeoKBax8qS5w00KLfBkUXz">http://nyc2.mirrors.digitalocean.com/mariadb/repo/10.2/ubuntu</a> $(lsb_release -sc) main" > /etc/apt/sources.list.d/mariadb.list</p>
<p>apt-get update</p>
<p>apt-cache policy apache2 php7.1 mariadb-server dovecot-core openssl</p>
<p>apt-get install mariadb-server mariadb-client libmysqlclient-dev libapache2-mod-php5.6</p>
<p>a2enmod mpm_prefork ssl http2 expires headers include rewrite</p>
<p>service apache2 restart</p>
<p>3) At this point, you can install Apache-2.4.27 + HTTP2 + PHP which can switch between</p>
<pre>versions 5.6 + 7.0 + 7.1 which give you a solid starting point of latest MariaDB
with whatever version of PHP you require.</pre>
<p>Just a thought.</p>
<img src="http://links.davidfavor.com/wf/open?upn=dR-2FDpsqbqS0pG-2FvtYnlwlYDAXhLtx9yTSf3jZyR4W4FJm5kgQqvrKRmmJ9iEttydavqt4SiXDUgfyrnm4wEgKPPl16K2taGycVCzvyrrqXuvpJUu2hQgOouxe0Kn147sjGuabzyVZDKeX-2BBSch3cqIS2O2r-2FUo5N-2FJoGCNunB2CzvlUvboODOHpFdu6qnVTvKXRXIMafaJDgnYzU4KcgPnwB-2FdsgC9ll3nmubthCUMVCGqAjb5-2FEQTKo60jnsTrO" alt="" width="1" height="1" border="0" style="height:1px !important;width:1px !important;border-width:0 !important;margin-top:0 !important;margin-bottom:0 !important;margin-right:0 !important;margin-left:0 !important;padding-top:0 !important;padding-bottom:0 !important;padding-right:0 !important;padding-left:0 !important;"/>
</body></html>