# Replacing a MySQL server in a non-standard location

**URL:** https://forums.percona.com/t/replacing-a-mysql-server-in-a-non-standard-location/3953
**Category:** Other MySQL® Questions
**Created:** [December 17, 2014, 9:47am UTC](https://forums.percona.com/t/replacing-a-mysql-server-in-a-non-standard-location/3953 "2014-12-17T09:47:45Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![jorj.ives](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jorj.ives](https://forums.percona.com/u/jorj.ives)
#### Post date: [December 17, 2014, 9:47am UTC](https://forums.percona.com/t/replacing-a-mysql-server-in-a-non-standard-location/3953/1 "2014-12-17T09:47:45Z")

</div>

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.

---

<div class="post-metadata">

### Author: ![scott.nemes](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/scott.nemes/32/5_2.png) [@scott.nemes](https://forums.percona.com/u/scott.nemes)
#### Post date: [December 17, 2014, 12:20pm UTC](https://forums.percona.com/t/replacing-a-mysql-server-in-a-non-standard-location/3953/2 "2014-12-17T12:20:46Z")

</div>

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]](http://dev.mysql.com/doc/refman/5.5/en/binary-installation.html%5B/url%5D)

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

---

<div class="post-metadata">

### Author: ![jorj.ives](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@jorj.ives](https://forums.percona.com/u/jorj.ives)
#### Post date: [December 18, 2014, 6:11am UTC](https://forums.percona.com/t/replacing-a-mysql-server-in-a-non-standard-location/3953/3 "2014-12-18T06:11:56Z")

</div>

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