chown -R mysql /var/lib/mysql
R.I.Kirkcaldy@stripped wrote:
>>Description:
>>
> When starting safe_mysqld mysqld shutsdown immediately with no error
>message. However looking at /var/lib/mysql/matrix.err gives the following
>error messages:-
>mysqld started
>/usr/libexec/mysqld: can't find file: './mysql/host.frm' errno: 13
>mysqld ended
>
>/var/lib/mysql/mysql/host.frm exists, and I've tried linking it to various
>places, with no success.
>
>>How-To-Repeat:
>>
> Not sure, system is zipslack 8.0, with binary packages of apache,
>mysql, and mod_php installed from the zipslack site.
>
>>Fix:
>>
> Don't know
>
>>Submitter-Id: <submitter ID>
>>Originator: Richard Kirkcaldy <richard@stripped>
>>Organization:
>>
>
>
>>MySQL support: none
>>Synopsis: Can't find ./mysql/host.frm
>>Severity: critical
>>Priority: high
>>Category: mysql
>>Class: support
>>Release: mysql-3.23.39 (Source distribution)
>>
>
>>Environment:
>>
> 486, zipslack 8.0
>System: Linux matrix 2.2.19 #115 Thu Jun 21 14:07:22 PDT 2001 i486 unknown
>Architecture: i486
>
>Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
>GCC: Reading specs from /usr/lib/gcc-lib/i386-slackware-linux/2.95.3/specs
>gcc version 2.95.3 20010315 (release)
>Compilation info: CC='gcc' CFLAGS='' CXX='c++' CXXFLAGS='' LDFLAGS=''
>LIBC:
>lrwxrwxrwx 1 root root 13 Jun 25 17:18 /lib/libc.so.6 -> libc-
>2.2.3.so
>-rwxr-xr-x 1 root root 1159296 Jun 26 2001 /lib/libc-2.2.3.so
>-rw-r--r-- 1 root root 178 May 25 2001 /usr/lib/libc.so
>Configure command: ./configure --prefix=/usr --with-mysqld-user=mysql --with-
>unix-socket-path=/var/run/mysql/mysql.sock --localstatedir=/var/lib/mysql --
>with-pthread --enable-thread-safe-client --enable-assembler --with-raid --with-
>libwrap --without-bench i386-slackware-linux
>