Can I setup a MySql database on a different partition from the MySql installation?

I have a server running Linux Red Hat 5 Enterprise with a basic, default installation. I would like to partition the HDs to separate my OS from database data. Now, after partitioning, should I reinstall MySql on the new partitions or can I configure it somehow to "point" to the new partition? Thanks!
salamandersockAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

pilson66Commented:
From Unix view - mounted partition is like directory.
So, if you mount ppertition, you need set user, group and permissions in desired folder.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
wolfgang_93Commented:
0
salamandersockAuthor Commented:
Thanks you two! I will be trying this suggestions out.
0
The Five Tenets of the Most Secure Backup

Data loss can hit a business in any number of ways. In reality, companies should expect to lose data at some point. The challenge is having a plan to recover from such an event.

Muhammad WasifCommented:
Changing data directory is the most easy option. While using InnoDB you need to be careful. InnoDB data is usually saved in ib_log* files. You need to export InnoDB tables and then import to work InnoDB tables properly after changing data directory.
0
salamandersockAuthor Commented:
Thanks everyone, for the help! One more question, this may seem like a silly qustion, however, I have been asked to change the "name" to the partition? For instance, is there a way to rename the volume something like "DB" or "Database"?
0
Guy Hengel [angelIII / a3]Billing EngineerCommented:
This question has been classified as abandoned and is closed as part of the Cleanup Program. See the recommendation for more details.
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
MySQL Server

From novice to tech pro — start learning today.