List:General Discussion« Previous MessageNext Message »
From:Mike Blezien Date:April 18 2006 4:45pm
Subject:Re: Change datadir in rpm installation
View as plain text  
----- Original Message ----- 
From: "tuxlinsecure" <tuxlinsecure@stripped>
To: <mysql@stripped>
Sent: Tuesday, April 18, 2006 11:41 AM
Subject: Change datadir in rpm installation


> Hi,
> I am a newbie. I need to change the datadir after the rpm installation
> How to do it?
>
> Thanks,

in your my.cnf under the mysql.server group add:
 [mysql.server]
# datadir location
datadir      = /var/lib/mysql

then restart MySQL and assuming you've create the necessary folder and related 
database(s) that will be stored there.


Mike(mickalo)Blezien
===============================
Thunder Rain Internet Publishing
Providing Internet Solution that Work
http://www.thunder-rain.com
=============================== 

Thread
Change datadir in rpm installationtuxlinsecure18 Apr
  • Re: Change datadir in rpm installationMike Blezien18 Apr
    • Re: Change datadir in rpm installationtuxlinsecure18 Apr