Hello,
   First shutdown mysql.  The move or copy databses to new directory.
Restart server using --datadir=/my/path/for/data  or place info in
my.cnf file.  (See examples provided with MySQL code).

Ken
----- Original Message -----
From: "Soheil Shaghaghi" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, September 12, 2002 12:41 PM
Subject: Moving Mysql


> Hello everyone,
> I have my MySQL database n the var partition of a FreeBSD server.
> The problem is that the partition is almost full, and now I can't
start the
> SQL server!
>
> I am thinking of moving the MySQL data directory to another
partition, but I
> don't know how I should do this.
> Can anyone please tell me how, and also do I have to change any
settings
> after moving the data directory?
>
> Thanks so much.
>
>
>
> --------------------------------------------------------------------
-
> 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