>Description:
I've tried to install MySQL-2.23.37 on LinuxPPC dr4 (not a recent
distribution, I know that...), from the source code (mysql-3.23.37.tar.gz).
unzip of the file was successfull, configuration and compilation seem to
have worked fine, but the installation of the grant tables failed, and
returned the following message:
"
[root@localhost mysql-3.23.37]# sh .scripts/mysql_install_db --log
Preparing db table
Preparing host table
Preparing user table
Preparing func table
Preparing tables_priv table
Preparing columns_priv table
mysqld got signal 11;
The manual section 'Debugging a MySQL server' tells you how to use a
stack trace and/or the core file to produce a readable backtrace that may
help in finding out why mysqld died.
Installation of grant tables failed!
Examine the logs in /usr/local/mysql/var for more information.
You can also try to start the mysqld daemon with:
/usr/local/mysql/libexec/mysqld --skip-grant &
You can use the command line tool
/usr/local/mysql/bin/mysql to connect to the mysql
database and look at the grant tables:
shell> /usr/local/mysql/bin/mysql -u root mysql
mysql> show tables
Try 'mysqld --help' if you have problems with paths.Using --log
gives you a log in /usr/local/mysql/var that may be helpful.
The latest information about MySQL is available on the web at ... etc...
"
The log file was not much more explicit :
"
/usr/local/mysql/libexec/mysqld, Version: 3.23.37-log, started with:
Tcp port: 3306 Unix socket: /tmp/mysql.sock
Time Id Command Argument
"
At least, I would like to know what does 'mysqld got signal 11;' means,
or refers to !!
Thanks for help
>How-To-Repeat:
sources of MySQL in /root
[root@localhost root]# gunzip -c mysql-3.23.37.tar.gz | tar xf -
[root@localhost root]# cd mysql-3.23.37
[root@localhost mysql-3.23.37]# /sbin/groupadd mysql
[root@localhost mysql-3.23.37]# /sbin/useradd -g mysql mysql
[root@localhost mysql-3.23.37]# ./configure --prefix=/usr/local/mysql --with-low-memory
[root@localhost mysql-3.23.37]# make ; make install
[root@localhost mysql-3.23.37]# sh .scripts/mysql_install_db --log
here, I get message saying that mysqld got signal 11, and that
installation of grant tables failed
>Fix:
>Submitter-Id: KLEGOU st�phane
>Originator: root
>Organization:Personnal user
>MySQL support: none
>Synopsis: 'mysqld got signal 11;' when I've tried to install the grant
tables with the command-line 'sh .scripts/mysql_install_db --log', and
installation of grant tables failed.
>Severity: non-critical
>Priority: medium
>Category: mysql
>Class: support
>Release: mysql-3.23.37 (Source distribution)
>Environment:
PowerMacintosh 5500/275
MacOS 8.1
System: Linux localhost.localdomain 2.2.1 #101 Fri Feb 5 16:17:12 EST
1999 ppc unknown
Architecture: ppc
Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc /usr/bin/cc
GCC: Reading specs from
/opt/egcs/lib/gcc-lib/powerpc-unknown-linux-gnulibc1/egcs-2.90.25/specs
gcc version egcs-2.90.25 980302 (egcs-1.0.2 prerelease)
Compilation info: CC='gcc' CFLAGS='' CXX='c++' CXXFLAGS='' LDFLAGS=''
LIBC:
lrwxrwxrwx 1 root root 12 Nov 1 00:46 /lib/libc.so.6 -> libc-1.99.so
-rwxr-xr-x 1 root root 909419 Jun 16 1998 /lib/libc-1.99.so
-rw-r--r-- 1 root root 1672250 Jun 16 1998 /usr/lib/libc.a
-rwxr-xr-x 1 root root 332 Jun 16 1998 /usr/lib/libc.so
Configure command: ./configure --prefix=/usr/local/mysql --with-low-memory
Perl: This is perl, version 5.004_01
---------------------------------------------------------------------
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