Replacing a MySQL server in a non-standard location

Good afternoon,

Is it possible to install Percona in a non-standard location? In this instance /opt/bitnami/mysql/bin?

Thank you for you help.

Hi jorj.ives;

Yes you may install MySQL/Percona wherever you want to.

The cleanest method would probably be to install the server using the generic binaries, and then you basically set it up from scratch in whatever location you want:
[url]http://dev.mysql.com/doc/refman/5.5/en/binary-installation.html[/url]

Alternatively if you install the server via an RPM or Yum it will go to the default location, which you could tweak. This method can be messy depending on your experience level with Linux.

Either way, it’s just a matter of having all the configs pointing to the right directories, correct permissions / ownership, etc…

-Scott

Thank you Scott, I’ll take a look through the docs you linked to.