title: Update MySQL version from 5.1 to 5.5 in CentOS 6.2
body: <p>I tried to update MySQL from 5.1 to 5.5 in CentOS 6.2. The following is the process I did:</p>
  
  <pre><code>1. rpm -Uvh http://repo.webtatic.com/yum/centos/5/latest.rpm
  2. yum install libmysqlclient15 --enablerepo=webtatic
  3. yum remove mysql mysql-*
  4. yum install mysql55 mysql55-server --enablerepo=webtatic
  </code></pre>
  
  <p>When I tried the 4th step, I got the following output:</p>
  
  <pre><code>[root@d2005 /]# yum install mysql55 mysql55-server --enablerepo=webtatic
  Failed to set locale, defaulting to C
  Loaded plugins: fastestmirror, presto
  Loading mirror speeds from cached hostfile
   * base: yum.singlehop.com
   * extras: centos.mirrors.tds.net
   * updates: pubmirrors.reflected.net
  Setting up Install Process
  Resolving Dependencies
  --&gt; Running transaction check
  ---&gt; Package mysql55.x86_64 0:5.5.10-1.w5 will be installed
  --&gt; Processing Dependency: mysql55-libs = 5.5.10-1.w5 for package: mysql55-5.5.10-1.w5.x86_64
  ---&gt; Package mysql55-server.x86_64 0:5.5.10-1.w5 will be installed
  --&gt; Processing Dependency: perl-DBD-MySQL for package: mysql55-server-5.5.10-1.w5.x86_64
  --&gt; Running transaction check
  ---&gt; Package mysql55-libs.x86_64 0:5.5.10-1.w5 will be installed
  ---&gt; Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed
  --&gt; Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
  --&gt; Processing Dependency: libmysqlclient.so.16()(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
  --&gt; Running transaction check
  ---&gt; Package mysql-libs.x86_64 0:5.1.61-1.el6_2.1 will be installed
  --&gt; Processing Conflict: mysql55-libs-5.5.10-1.w5.x86_64 conflicts mysql-libs &lt; 5.5.10
  --&gt; Finished Dependency Resolution
  Error: mysql55-libs conflicts with mysql-libs
   You could try using --skip-broken to work around the problem
   You could try running: rpm -Va --nofiles --nodigest
  </code></pre>
  
  <p>How to fix it?</p>