Welcome to the most active Linux Forum on the web.
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 12-20-2004, 08:55 AM   #1
Registered: Dec 2003
Location: NC, US
Distribution: Novell Linux Eval (2.6.5)
Posts: 240

Rep: Reputation: 30
install mySQL, partition question

i am about to set up a mysql server, i would assume that the db itself should have its own partition. Which one is that? can anyone tell me the correct way to set it up? thanks
Old 12-20-2004, 10:22 AM   #2
Registered: Aug 2004
Location: London
Distribution: FreeBSD 6.0, Freebsd 5.3, Freebsd 4.10, SuSE 9.2 pro, Slackware 10.1, FreeBSD 5.4 RC3
Posts: 270

Rep: Reputation: 30
I dont think that db itself have its own partition. I use slackware as my server, and it has mysql so u dont have to compile it. I bet u that most of the distros have Mysql by default. U need to select it to install it.
Old 12-20-2004, 10:49 AM   #3
Senior Member
Registered: Jul 2004
Distribution: Ubuntu 7.04
Posts: 1,994

Rep: Reputation: 76
You can put the database on its own partition if you want to. It might help you, for instance if you want to use software-RAID for speed or reliability. ( You probably only want to do this if you have a very high load on the database, though, as it can be very expensive in terms of disk space.

The default database location is /var/lib/mysql (installing from RPM), which is used for database files and logs. /usr/local/var is used by default when building from source. (

The installation guide is at


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
mysql, ftp client install question rm.linux Linux - Software 0 01-26-2005 10:11 PM and php install question Jake_B Linux - Software 0 10-19-2004 08:01 PM
Mandrake 9.2 install question: partition davidfarnell Linux - Newbie 15 01-04-2004 12:15 PM
Mysql rpm re-install question. BGuarnieri Linux - Software 9 07-15-2003 07:19 PM
New Mandrake 8.1 install partition question.. wjsulliv Linux - Newbie 1 12-10-2001 12:02 AM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:39 PM.

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