Why can't I uninstall mysql-5.5 & install mysql-5.6 on Amazon Linux machine?
<p>I'm on a 64-bit Amazon Linux machine.</p>

<p>I had previously installed mysql-server 5.5. (using <code>sudo yum install</code>)
However, I soon found out that my application requires MySql-serve 5.6.</p>

<p>So I uninstalled mysql-server 5.5. (using <code>sudo yum remove mysql-server</code>) and now I'm following <a href="http://sharadchhetri.com/2013/12/26/install-mysql-server-5-6-in-centos-6-x-and-red-hat-6-x-linux/" rel="nofollow noreferrer"><strong>these instruction</strong></a> to install mysql-server 5.6.</p>

<p>But I'm running into a problem.</p>

<p>when I try to do the second install, I get the following 2 errors:</p>

<pre><code>file /usr/lib64/mysql/libmysqlclient.so.18 from install of mysql-community-libs-5.6.14-3.el6.x86_64 conflicts with file from package mysql55-libs-5.5.46-1.10.amzn1.x86_64
file /etc/my.cnf from install of mysql-community-server-5.6.14-3.el6.x86_64 conflicts with file from package mysql-config-5.5.46-1.10.amzn1.x86_64
</code></pre>

<p>Why on earth am I getting these two errors? How do I fix them?
I removed mysql-server-5.5, so why is it conflicting with 5.6? </p>

<p>I did <code>ls</code> on <code>/etc/my.cnf</code> and <code>/usr/lib64/mysql/libmysqlclient.so.18</code> and the files don't even exist!! If the files don't exist how can they be conflicting with other files?? Who can help explain this?</p>

<p>PS, I tried @msknapp's explanation here: <a href="https://stackoverflow.com/questions/23749448/cant-install-mysql-5-6-by-rpm">Can&#39;t install MySQL 5.6 by RPM</a>, however I don't know what to do after step #1 to install the rpm. I think that step is left unstated.</p>