Mailing List Archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [tlug] Empty databases after moving MySQL data files

> datadir        = /var/lib/mysql
> With:
> datadir        = /home/dave/Dropbox/MySQL

 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 Cook, Software Researcher/Developer  (Shodan Go Bet - who will win?) (About me and my work) (My blogs and articles)

Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links