473,396 Members | 2,121 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,396 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 1411

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: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.