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

Notices



Reply
 
Search this Thread
Old 02-08-2006, 09:16 PM   #1
edudirectories
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, 08:29 PM   #2
Gadzila
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
and
move datadir with using symlinks - the fastest way
 
  


Reply


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 01:01 PM
Start MySQL with a non-default datadir nifflerX Linux - Enterprise 9 02-28-2006 06:42 AM
mySQL my.cnf (moving default datadir) not working! madfitz Linux - Newbie 4 02-09-2006 08:15 PM
difference between localstatedir and datadir Robin01 Linux - Newbie 1 11-17-2003 06:49 PM
/usr/local/games/datadir? boku Programming 1 11-27-2002 09:34 AM


All times are GMT -5. The time now is 05:21 PM.

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