[ubuntu-in] mysql database files

Ramnarayan.K ramnarayan.k at gmail.com
Tue Jul 31 10:43:04 UTC 2012


Thank you

ram

On Tue, Jul 31, 2012 at 3:48 PM, Mehul Ved <mehul.n.ved at gmail.com> wrote:

> On Sat, Jul 28, 2012 at 3:22 PM, Ramnarayan.K <ramnarayan.k at gmail.com>
> wrote:
> > A different question arising out of Alok's trouble so am Top Posting
> >
> > is it possible to store mysql and other database files in a location
> other
> > /(root) if so where and how would it need to be done
>
> You need to change the datadir option in /etc/mysql/my.cnf e.g. if you
> want to store files in /home/user/mysql/ then
>
> -----my.cnf-----
> datadir=/home/user/mysql
>
> Read http://askubuntu.com/questions/137424/moving-mysql-datadir for
> further instruction on how to move already existing files.
>
> --
> ubuntu-in mailing list
> ubuntu-in at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
>



-- 
Ram
_________________________________________________________<http://www.munsiari.com>
Amazing Indians: Transforming lives in the
hills<http://www.timesnow.tv/Amazing-Indians-Transforming-lives-in-the-hills/videoshow/4383022.cms>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-in/attachments/20120731/92a9224b/attachment.html>


More information about the ubuntu-in mailing list