473,321 Members | 1,748 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,321 software developers and data experts.

mysql_install_db on Mysql 4.1.0 seg-faults

Hi,

I'm trying to get a version of MySQL 4.1.0 installed on my (Gentoo Linux)
machine. I have a copy of MySQL 4.0.13 already installed, using Gentoo's
ebuilds, but am trying to install 4.1.0 in a side-by-side configuration.
(Into /usr/local/mysql_alpha, talking to port 3300) - So I can run 4.0 as my
"production" server, and muck about with 4.1.0 while I'm testing out the new
features.

I'm compiling it from source. Here is what I used to configure it:

CFLAGS="-mcpu=pentium3 -O3 -pipe" CXXFLAGS="${CFLAGS} -felide-constructors
-fno-exceptions -fno-rtti" CXX="gcc" ./configure
--prefix=/usr/local/mysql_alpha --enable-assembler
--with-mysqld-ldflags=-all-static --disable-shared --with-charset=latin1
--with-mysql-user=mysql --with-extra-charsets=all
--with-unix-socket-path=/var/run/mysqld/mysqld_alpha.sock
--with-tcp-port=3300

It compiles all fine, and I can install it with 'make install'... But then I
go to run mysql_install_db (as root) and it segfaults. Output here:
>

shiro mysql-4.1.0-alpha # scripts/mysql_install_db
Installing privilege tables
mysqld got signal 11;
This could be because you hit a bug. It is also possible that this binary
or one of the libraries it was linked against is corrupt, improperly built,
or misconfigured. This error can also be caused by malfunctioning hardware.
We will try our best to scrape up some info that will hopefully help diagnose
the problem, but since we have already crashed, something is definitely wrong
and this may fail.

key_buffer_size=8388600
read_buffer_size=131072
sort_buffer_size=2097144
max_used_connections=0
max_connections=100
threads_connected=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_size + sort_buffer_size)*max_connections =
225791 K
bytes of memory
Hope that's ok; if not, decrease some variables in the equation.

thd=0x85205a8
Attempting backtrace. You can use the following information to find out
where mysqld died. If you see no messages after this, something went
terribly wrong...
Cannot determine thread, fp=0x409ae858, backtrace may not be correct.
Stack range sanity check OK, backtrace follows:
0x80adeb7
0x82b2525
0x82c60d2
0x80c1c71
0x80c51b6
0x80c1a0a
0x80bab62
0x82adf63
0x82e6cb4
scripts/mysql_install_db: line 1: 9169 Segmentation fault
/usr/local/mysql_alpha/libexec/mysqld --bootstrap --skip-grant-tables
--basedir=/usr/local/mysql_alpha --datadir=/usr/local/mysql_alpha/var
--skip-innodb --skip-bdb
<<<<<

MySQL 4.0 is NOT running while I'm attempting to do all this. The other
installation of MySQL works fine, without any problems.

Any ideas?

Thanks,
Simon

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/my***********...ie.nctu.edu.tw

Jul 19 '05 #1
0 1409

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Doruk Fisek | last post by:
Hi, I am compiling MySQL 4.0.14 with GCC 3.2.3, Glibc 2.3.1 and Linux 2.4.21 on a x86. CFLAGS="-O2 -march=athlon" CXX=gcc CXXFLAGS="-march=athlon -O2 -felide-constructors" ./configure ...
0
by: Adam Smith | last post by:
Doing the post-install on mysql : /usr/local/bin/mysql_install_db ===> Neither host 'econ' and 'localhost' could not be looked up with /usr/local/bin/resolveip Please configure the...
0
by: Adam Smith | last post by:
Doing the post-install on mysql : /usr/local/bin/mysql_install_db ===> Neither host 'econ' and 'localhost' could not be looked up with /usr/local/bin/resolveip Please configure the...
5
by: MLH | last post by:
I'm supposed to set a password for the MySQL root user. The output of mysql_install_db instructed me to run the following commands... /usr/bin/mysqladmin -u root -h appserver password mynwewpasswd...
0
by: macbrando | last post by:
I installed version 5.0.19 for OS X 10.4. In the documentation, it says it runs the mysql_install_db script for you. I started the server and ran the test it told me (mysqlshow mysql) and it gives...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.