I use ./safe_mysqld --datadir=/.../... to put the data onto another disk.

Manfred

Howard Miller schrieb:

> Hi,
>
> I have installed mysql on SuSE Linux from an rpm. It works but I
> want to move the data directory to a larger disk on my machine.
>
> How do I do it??
>
> If I create a symbolic link to the /var/lib/mysql directory, the
> mysql.sock (don't really understand what this file does) file
> vanishes and I can't restart the server.
>
> If I make a sumbolic link to the actual database sybdirectories, it
> doesn't see them properly.
>
> If I edit the /etc/rc.d/mysql file to change the data directory, the
> .sock file vanishes again and it won't start.
>
> What is the procedure?
>
> Howard Miller
>
> ---------------------------------------------------------------------
> Before posting, please check:
>    http://www.mysql.com/manual.php   (the manual)
>    http://lists.mysql.com/           (the list archive)
>
> To request this thread, e-mail <[EMAIL PROTECTED]>
> To unsubscribe, e-mail <[EMAIL PROTECTED]>
> Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php


---------------------------------------------------------------------
Before posting, please check:
   http://www.mysql.com/manual.php   (the manual)
   http://lists.mysql.com/           (the list archive)

To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php

Reply via email to