MySQL Forums
Forum List  »  Newbie

Change the directory of db
Posted by: dgetime
Date: July 28, 2005 01:30AM

Hello,

I have installed mysql with rpms and i want to change the directory of db.

The default directory is : /var/lib/mysql and i want /data/ for example.

I try to change parameters in /etc/init.d/mysql but mysql don't want to start...

"datadir=/var/lib/mysql --> datadir=/data"

where and how i can modify the directory ?

sincerly

GĂ©rald

Options: ReplyQuote


Subject
Written By
Posted
Change the directory of db
July 28, 2005 01:30AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.