Linux: How to rename old mysqld when upgrading MySQL?

Posted by Continuation on Server Fault See other posts from Server Fault or by Continuation
Published on 2011-02-26T10:17:17Z Indexed on 2011/02/26 15:26 UTC
Read the original article Hit count: 249

I'm upgrading MySQL from MySQL 5.0 to Percona Server 5.1.

I'm planning to just use yum remove and yum install to do the upgrade.

However, I read in the documentation that it's a good idea to rename the old mysqld to mysqld-5.0. And if the upgrade doesn't work, I could just revert back to the old version.

  1. How exactly does this work? If I use yum remove, doesn't that mean the old mysqld is removed? So how do I rename it?

  2. Where is mysqld located? How do I find it?

Thanks.

© Server Fault or respective owner

Related posts about mysql

Related posts about database-adminstration