Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )

Advanced DNS Management
New ZoneEdit. New Managment.


Sign Up Now
Reply to this topicStart new topic
> Moving Mysql Data Directory
post Mar 7 2005, 02:45 PM
Post #1


Group: Members
Posts: 76
Joined: 4-November 03
Member No.: 1,751


I've just installed RedHat Enterprise Linux v4 with the mysql client and server rpm packages. I'm trying to put my mysql data directory on my /home partition, my largest partition. At the moment mysql is reading the database information from /var/lib/mysql. In the past what I would do is create a symbolic link from /var/lib/mysql to a mysql directory on my /home partition and that worked fine. But with this version of mysql it doesn't work. When I run /etc/init.d/mysql start, it fails. If I change the symbolic link back to a real directory, it works just fine. Does anyone know a way that I can use a symbolic link for the mysql database directory? Thanks.


mysql --version
mysql Ver 14.7 Distrib 4.1.7, for redhat-linux-gnu (i386)
Go to the top of the page
+Quote Post
post Mar 8 2005, 08:09 PM
Post #2

Whats this Lie-nix Thing?

Group: Members
Posts: 2
Joined: 8-March 05
Member No.: 4,742

using MY SQL admin you can change the directory to the path, or SQLCC
Go to the top of the page
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:


RSS Lo-Fi Version Time is now: 20th June 2018 - 04:10 PM