Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 08-21-2009, 02:36 AM   #1
Registered: Oct 2003
Location: Bombay,Maharashtra,India
Posts: 60

Rep: Reputation: 15
mysql binary installation on RHEL 5

I want to install binary i.e. rpm package of mysql on RHEL 5 server.

The default location of this mysql rpm is /var/lib/mysql. But in my case i have kept only 8 GB to / partition & my database size is more. Is is possible to install mysql with other location, say /home/mysqldata(which is not a user) using the same binaries ?

- jagdish
Old 08-21-2009, 02:51 AM   #2
Registered: Aug 2005
Location: D.i.t.h.o, Texas
Distribution: Slackware 13.x, rhel3/5, Solaris 8-10(sparc), HP-UX 11.x (pa-risc)
Posts: 988
Blog Entries: 4

Rep: Reputation: 254Reputation: 254Reputation: 254
I think you're looking for the "--prefix" option of RPM. At least, if I want to change the "root" that an RPM package assumes, I use that.
Be warned, the package may expect a $prefix/var, $prefix/etc, and $prefix/usr directory where ever you point it at!

Hope this helps!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Can I install Mysql binary as non-root? zijian Linux - Software 2 07-05-2009 06:03 AM
Installing MySQL From Binary matsko Linux - Software 1 08-12-2007 04:48 AM
Binary compatibility between RHEL 3 and SuSE 10 skv1234 SUSE / openSUSE 1 07-21-2007 02:50 AM
RHEL 3.0 binary compatibility dayalan_cse Linux - Enterprise 3 04-22-2007 11:20 AM
Storing binary data in MySQL take 2 drspin Programming 5 05-05-2006 03:26 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:10 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration