I need to install mysql in home folder, I am using Ubuntu 12.10. I am trying to install it from binary. I gone through some related posts, but I didn't find any useful post to set the mysql in home folder. How can I do it?
Asked
Active
Viewed 2,081 times
-1
-
You will have to compile it from sources – hek2mgl Feb 26 '13 at 14:58
-
Do you need the mysql server or the client libs. or both? – hek2mgl Feb 26 '13 at 14:59
1 Answers
3
If you install mysql from source code you can chose the directory adding the right option when you rum the ./configure
command
Here is the guide: http://dev.mysql.com/doc/refman/5.1/en/installing-source-distribution.html Here are the option http://dev.mysql.com/doc/refman/5.1/en/source-configuration-options.html
The right command should be ./configure --prefix=mypath
![](../../users/profiles/1861133.webp)
DarkCoffee
- 800
- 3
- 13
- 29