Review your favorite Linux distribution.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 02-08-2006, 08:16 PM   #1
LQ Newbie
Registered: Feb 2006
Posts: 9

Rep: Reputation: 0
Trying to move datadir of mysql

I am using RHEL V4 with the default install of mysql 4.1.xx I am trying to move the data directory from the default of /var/lib/mysql to /studio folder which is another harddrive that is raid 5.

I have made the change in the my.cnf - copied the files over and can not seem to get mysqld started. I have even at one point made symbolic links from /var/lib/mysql to /studio folder.

If anyone has any feedback on how to move the data directory i would greatly appreciate it. I would like to keep all my data on the raid 5 drive and the OS on the raid 1 drive.
Old 02-14-2009, 07:29 PM   #2
LQ Newbie
Registered: Nov 2008
Posts: 8

Rep: Reputation: 0
you wait to long for answer ))))
but this post can help to other people who have the same problem...
here is two articles how to move datadir
how to move datadir in ubuntu, issue solution
move datadir with using symlinks - the fastest way


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
cannot using FTP move command to move files adrianmak Linux - Networking 4 04-21-2009 12:01 PM
Start MySQL with a non-default datadir nifflerX Linux - Enterprise 9 02-28-2006 05:42 AM
mySQL my.cnf (moving default datadir) not working! madfitz Linux - Newbie 4 02-09-2006 07:15 PM
difference between localstatedir and datadir Robin01 Linux - Newbie 1 11-17-2003 05:49 PM
/usr/local/games/datadir? boku Programming 1 11-27-2002 08:34 AM > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 06:05 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