mysql DataDir
Nair, Murlidharan T
mnair at iusb.edu
Tue Sep 26 21:00:38 UTC 2006
I am trying to change the data directory to point to an alternate location and I am getting the following error.
060926 15:47:15 [Warning] Can't create test file /mnt/sqlhome/data/bioinformatics.lower-test
/usr/libexec/mysqld: Can't change dir to '/mnt/sqlhome/data/' (Errcode: 13)
060926 15:47:15 [ERROR] Aborting
My my.cnf file is as follows
[mysqld]
#datadir=/var/lib/mysql
#socket=/var/lib/mysql/mysql.sock
datadir=/mnt/sqlhome/data
socket=/mnt/sqlhome/data/mysql.sock
# Default to using old password format for compatibility with mysql 3.x
# clients (those using the mysqlclient10 compatibility package).
old_passwords=1
[mysql.server]
user=mysql
basedir=/var/lib
[mysqld_safe]
err-log=/var/log/mysqld.log
pid-file=/var/run/mysqld/mysqld.pid
Is this some security issues associated with selinux ? How do I handle this situation?
Thanks ../Murli
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winmail.dat
Type: application/ms-tnef
Size: 4030 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/redhat-install-list/attachments/20060926/8d56c57c/attachment.bin>
More information about the Redhat-install-list
mailing list