473,666 Members | 2,278 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

mysql_install_d b 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="${CFL AGS} -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.so ck
--with-tcp-port=3300

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

shiro mysql-4.1.0-alpha # scripts/mysql_install_d b
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_siz e=131072
sort_buffer_siz e=2097144
max_used_connec tions=0
max_connections =100
threads_connect ed=1
It is possible that mysqld could use up to
key_buffer_size + (read_buffer_si ze + sort_buffer_siz e)*max_connecti ons =
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_d b: 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 1424

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

Similar topics

0
1665
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 --prefix=/usr/local/mysql --with-charset=latin5 --without-docs --with-mysqld-ldflags=-all-static --disable-shared --with-client-ldflags=-all-static --without-innodb
0
545
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 'hostname' command to return a correct hostname. If you want to solve this at a later stage, restart this script with
0
1785
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 'hostname' command to return a correct hostname. If you want to solve this at a later stage, restart this script with
5
4300
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 I did. It did not work. Here's the error: /usr/bin/mysqladmin: connect to server at 'appserver' failed error: 'Host 'appserver.crci.com' is not allowed to connect to this MySQL server' Another command I'm supposed to run also resulted in an...
0
1066
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 me an error. So, I just do (mysqlshow) and it's missing the mysql database! The only two databases I see are information_schema and test. So i re-ran the mysql_install_db script again and it still didn't add the mysql database. Any ideas??
0
8355
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8866
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8781
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
7381
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6191
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 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 a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
2769
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
2006
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1769
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.