----- Original Message ----- From: "tuxlinsecure" <[EMAIL PROTECTED]>
To: <mysql@lists.mysql.com>
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
===============================

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to