David Vender wrote:
>
> >Description:
> I've posted before on this: running scripts/mysql_install_db
> hangs at
> 'Installing all prepared tables'
> and when i say hangs kill -9 is the only option.
> I have been told to check permissions (they're all fine in
> comparison with a working system also running RH6.2) and to
> install from source (Yes, i've manually deleted everything
> that had anything to do with mysql off the system and installed
> from sources as per instructions. Everything went cleanly until
> the mysql_install_db script).
>
> Can anyone help with what the script is doing at that point
> (i looked but can't figure it out). Why does it not report
> an error? Hanging like that does not give me any clue as to
> what i should be trying to fix.
>
> More info: There was a working version of mysql running on this
> machine (3.22.32 which stopped working (accepting connections)
> without really dying (daemon kept running and starting on reboot)).
> That was installed from an RPM and deinstalled using rpm. i have
> since manually removed mysql directories that are not removed by rpm.
>
> >How-To-Repeat:
> scripts/mysql_install_db
> hangs every time, whether the install is from RPM, binary or source
> >Fix:
> Throw the computer out the window?
>
> >Submitter-Id: <submitter ID>
> >Originator: David Vender
> >Organization:
>
> >MySQL support: none
> >Synopsis: /mysql_install_db hangs at 'Installing all prepared tables'
> >Severity: critical
> >Priority: high
> >Category: mysql
> >Class: sw-bug
Make sure you setup a linux user named mysql.
chown -R mysql /usr/local/mysql ( or whatever )
chown -R mysql /var/mysql ( or whatever )
create ( if you don't have one ) /etc/my.cnf
Add the following two lines:
[mysqld]
user=mysql
chmod 744 /etc/my.cnf
mysql_install_db --user=mysql
Make sure that the directory that will contain the mysql.sock is world
readable and searchable.
It hangs because it can't read or write a critical file.
> >Release: mysql-3.23.33 (Source distribution)
>
> >Environment:
>
> System: Linux axel.physics.dcu.ie 2.2.14-5.0 #1 Tue Mar 7 21:07:39 EST 2000 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/egcs-2.91.66/specs
> gcc version egcs-2.91.66 19990314/Linux (egcs-1.1.2 release)
> Compilation info: CC='gcc' CFLAGS='' CXX='c++' CXXFLAGS='' LDFLAGS=''
> LIBC:
> lrwxrwxrwx 1 root root 13 May 8 2000 /lib/libc.so.6 ->
>libc-2.1.3.so
> -rwxr-xr-x 1 root root 4101324 Feb 29 2000 /lib/libc-2.1.3.so
> -rw-r--r-- 1 root root 20272704 Feb 29 2000 /usr/lib/libc.a
> -rw-r--r-- 1 root root 178 Feb 29 2000 /usr/lib/libc.so
> Configure command: ./configure --prefix=/usr/local/mysql
> Perl: This is perl, version 5.005_03 built for i386-linux
>
> ---------------------------------------------------------------------
> 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
---------------------------------------------------------------------
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