[NTLUG:Discuss] Help with MySQL starting

Paul Ingendorf pauldy at wantek.net
Mon Jan 17 13:49:41 CST 2005


At second glance it could be a simple permissions issue on the data files.
Check to see if mysqld runs as a user and if so make sure the user has
read/write permissions to the files located in the datadir.

-----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