
Mailing List Archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [tlug] Empty databases after moving MySQL data files
- Date: Mon, 19 Apr 2010 21:35:35 +0900
- From: Darren Cook <darren@example.com>
- Subject: Re: [tlug] Empty databases after moving MySQL data files
- References: <4BCC3681.2080809@example.com>
- User-agent: Thunderbird 2.0.0.23 (X11/20090817)
> datadir = /var/lib/mysql
>
> With:
>
> datadir = /home/dave/Dropbox/MySQL
Does:
du -s /home/dave/Dropbox/MySQL
Give the same sizes (at least roughly) as
du -s /var/lib/mysql
If so, my guess would be that the "mysql" user cannot see the files
under your home directory. Add mysql to the dave group and make sure
/home/dave/ /home/dave/Dropbox/ and /home/dave/Dropbox/MySQL are all
group read-writable.
Darren
--
Darren Cook, Software Researcher/Developer
http://dcook.org/gobet/ (Shodan Go Bet - who will win?)
http://dcook.org/work/ (About me and my work)
http://dcook.org/blogs.html (My blogs and articles)
Home |
Main Index |
Thread Index