Re: Adding a new HDD - how do I move /var/lib/mysql ?
On Wed, Jan 10, 2007 at 10:20:57PM -0800, Marc Shapiro wrote:
> -----Original Message-----
> >Ln -s /var/lib/mysql /mnt/hdx/mysql
> >
> Shouldn't the last line be replaced with:
>
> ln -s /mnt/hdx/mysql /var/lib/mysql
>
> Although I would actually do:
>
> cd /var/lib
> ln -s /mnt/hdx/mysql
>
>
>
> According to man ln the target is always first unless using the -t option.
So the effect of ln is the same as cp, except that no copy is made.
-- mhendrik
Reply to: