Results 1 to 1 of 1
I've got a fresh MySQL install on a CentOS 4 AMD64 machine, and I've set the datadir in /etc/my.cnf to /home/mysql/mysql/data , which is the mountpoint for an ext3 filesystem ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-13-2007 #1Linux Newbie
- Join Date
- May 2004
- Location
- Boston, MA
- Posts
- 246
mysql: How to ignore subdirs of datadir
I've got a fresh MySQL install on a CentOS 4 AMD64 machine, and I've set the datadir in /etc/my.cnf to /home/mysql/mysql/data, which is the mountpoint for an ext3 filesystem on a RAID 10 disk.
Phew, that was a mouthful.
Now, since I have the root of an ext3 filesystem mounted at /home/mysql/mysql/data, there's a lost+found directory there. Seeing this, mysql thinks it's supposed to be a database:What I'm asking is this: do you know of any way, perhaps some option in my.cnf, to get mysql to ignore a particular directory in its datadir?Code:mysql> show databases; +--------------------+ | Database | +--------------------+ | information_schema | | lost+found | | mysql | | test | +--------------------+ 4 rows in set (0.00 sec)
Situations arise because of the weather,
And no kinds of love are better than others.


Reply With Quote
