>Description:
Can't run the mysql deamon at all. When I try running safe_mysqld (with root
permission) i get the following message
Starting mysqld daemon with databases from /var/lib/mysql
010828 15:18:22 mysqld ended
When I attempt this as not the root user, I get permission problems.
The /var/log/mysql.log has the following line added:
010828 15:18:22 mysqld started
010828 15:18:22 /usr/libexec/mysqld: Can't find file: './mysql/host.frm' (errno: 13)
010828 15:18:22 mysqld ended
I am using Redhat linux. I freshly installed it (I've installed *nothing* else). I got
the same problem when I initialized the partition, and installed debian, and installed
mysql from the source code.
I have tried different versions and distributions of Linux. Different kernals.
Different mysqls. There is no HOWTO page with this error -- how does anybody else get
the thing to go?
>How-To-Repeat:
Install RedHat 7.1, with MySQL installed. Type:
su root
'password'
mysql_install_db
safe_mysqld &
If you think it has something to do with RedHat... Initialize the hardisk. Install
Debian (potato), with mysql
Get the mysql tar.gz file and type (as root):
gunzip mysql.tar.gz
tar xf mysql.tar
cd into the directory
./configure --prefix=/path/to/installation
make
make install
locate mysql_install_db and run ./mysql_install_db
safe_mysqld
and... SAME PROBLEM!!!
>Fix:
blah
>Submitter-Id:
>Originator:Aaron Michaux
>Organization:
University of Queensland
>MySQL support: none
>Synopsis: Can't get it to go... problem with installation
>Severity: critical
>Priority: more your problem
>Category: mysql
>Class: doc-bug
>Release: mysql-3.23.36 (Source distribution)
>Environment:
Pentium 933, 256Mb RAM 80Gb Hard disk
Redhat Linux 7.1
System: Linux tea933 2.4.2-2 #1 Sun Apr 8 20:41:30 EDT 2001 i686 unknown
Architecture: i686
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-redhat-linux/2.96/specs
gcc version 2.96 2731 (Red Hat Linux 7.1 2.96-81)
Compilation info: CC='gcc' CFLAGS='-O2 -march=i386 -mcpu=i686' CXX='c++'
CXXFLAGS='-O2 -march=i386 -mcpu=i686' LDFLAGS=''
LIBC:
lrwxrwxrwx1 root root 13 Aug 9 06:12 /lib/libc.so.6 -> libc-2.2.2.so
-rwxr-xr-x2 root root 1236396 Apr 7 07:58 /lib/libc-2.2.2.so
-rw-r--r--1 root root 26350254 Apr 7 05:27 /usr/lib/libc.a
-rw-r--r--1 root root 178 Apr 7 05:27 /usr/lib/libc.so
lrwxrwxrwx1 root root 10 Aug 9 06:33 /usr/lib/libc-client.a ->
c-client.a
Configure command: ./configure i386-redhat-linux --prefix=/usr --exec-prefix=/usr
--bindir=/usr/bin --sbindir=/usr/sbin --sysconfdir=/etc --datadir=/usr/share
--includedir=/usr/include --libdir=/usr/lib --libexecdir=/usr/libexec
--localstatedir=/var --sharedstatedir=/usr/com --mandir=/usr/share/man
--infodir=/usr/share/info --without-debug --without-readline --enable-shared
--with-extra-charsets=complex --with-bench --localstatedir=/var/lib/mysql
--with-unix-socket-path=/var/lib/mysql/mysql.sock --with-mysqld-user=mysql
--with-extra-charsets=all --with-berkeley-db
-
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)
To request this thread, e-mail <[EMAIL PROTECTED]>
To unsubscribe, e-mail <[EMAIL PROTECTED]>
Trouble unsubscribing? Try: http://lists.mysql.com/php/unsubscribe.php