<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.32.2">
</HEAD>
<BODY>
On Sun, 2011-03-20 at 12:41 -0600, chris fedde wrote:
<BLOCKQUOTE TYPE=CITE>
<PRE>
On Sun, Mar 20, 2011 at 10:17 AM, Raymond DeRoo &lt;<A HREF="mailto:rderoo@deroo.net">rderoo@deroo.net</A>&gt; wrote:
&gt;
&gt; Relocating MySQL, Postgres and other RDBMS data directory and then symlinking it is nearly always a bad idea and strongly discouraged. If you need to move it from the default location ( which it should be moved from /var/lib ) then edit the appropriate config file and change the datadir accordingly.
&gt;
&gt; .r

I'm curious who has &quot;strongly discouraged&quot; using symbolic links in
this way?  I know that sysadmins each have habits and tastes of choice
but I can think of no performance or maintenance reason why use of
symbolic links in this way should cause a problem.

Personally I prefer using links in this way and letting the
application config remain default.
Using symbolic links has the advantage of minimizing change tracking
required at upgrade time.   Symbolic links are a stable feature of the
OS and can be safely used to isolate applications and users from
complexities of the deployment history.

As always: programmers solve complexity by adding layers of indirection.

chris
_______________________________________________
clue mailing list
<A HREF="mailto:clue@cluedenver.org">clue@cluedenver.org</A>
<A HREF="http://cluedenver.org/mailman/listinfo/clue">http://cluedenver.org/mailman/listinfo/clue</A>
</PRE>
</BLOCKQUOTE>
<BR>
I would like to know that too.
</BODY>
</HTML>