[NTLUG:Discuss] Help with MySQL starting
Paul Ingendorf
pauldy at wantek.net
Mon Jan 17 13:47:56 CST 2005
At first glance it appears the path for the mysql datafiles have changed. I
would check your /etc/my.cnf easiest most fool proof way would be to search
for host.frm using "find / -name host.frm" make note of the path it uses
edit your /etc/my.cnf to reflect the path the file was found -
/mysql/host.frm. Then use that for datadir= in the mysqld section. There
may be other variables that need to be modified but this should take care of
that error message. Another thing you might check for is alternative my.cnf
files using the find command.
-----Original Message-----
From: discuss-bounces at ntlug.org [mailto:discuss-bounces at ntlug.org]On
Behalf Of David Simmons, PE
Sent: Monday, January 17, 2005 9:32 AM
To: discuss at ntlug.org
Subject: [NTLUG:Discuss] Help with MySQL starting
Guys,
System is Fedora3...has been running MySQL for a bit....did a yum
update / reboot (because of new kernel)...now I can't seem to start
MySQL - I get the following in /var/log/mysql.log:
050114 15:47:31 /usr/libexec/mysqld: Can't find file:
'./mysql/host.frm' (errno: 13)
050114 15:47:31 mysqld ended
and in /var/log/messages:
Jan 14 15:47:31 www2 kernel: audit(1105739251.786:0): avc: denied
{ read } for pid=4060 exe=/usr/libexec/mysqld name=host.frm dev=md0
ino=3211471 scontext=root:system_r:mysqld_t
tcontext=root:object_r:var_lib_t tclass=file
Any ideas? - Thanks! - Dave
_______________________________________________
https://ntlug.org/mailman/listinfo/discuss
More information about the Discuss
mailing list