For an rpm Installation , the server-related my.cnf is saved at what lcoation ?
 
 and is it ok that I copy /usr/share/mysql/my-large.cnf as /etc/my.cnf 
 and edit datadir only 
 
 Thanks,

Mike Blezien <[EMAIL PROTECTED]> wrote: 
----- Original Message ----- 
From: "tuxlinsecure" 
To: 
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
=============================== 



                
---------------------------------
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.

Reply via email to