Bug #11679 core dumped solaris 10 on /scripts/mysql_install_db Command
Submitted: 1 Jul 2005 1:19 Modified: 28 Jul 2005 15:05
Reporter: Paul McArdle Email Updates:
Status: Can't repeat Impact on me:
None 
Category:MySQL Server Severity:S2 (Serious)
Version:4.1.12, 4.1.12-max, 5.0.6beta OS:Solaris (solaris 10)
Assigned to: CPU Architecture:Any

[1 Jul 2005 1:19] Paul McArdle
Description:
see http://forums.mysql.com/read.php?11,28103 

After gunzipping and installing the package I try to run the /scripts/mysql_install_db Command and get an error message like this:
***********************************************
bash-2.05# scripts/mysql_install_db
Installing all prepared tables
Illegal Instruction - core dumped
Installation of system tables failed! 

I have the exact same problem with the core dump on my solaris x86 installation.
In my case, I'm using Solaris 10_x86. I've tried standard 4.1.12 (pkg) and tar... as well as 4.1.12-max (pkg) and tar... Also 5.0.6beta (pkg).

How to repeat:
4 people have this problem, latest reported today 30,Jul
[28 Jul 2005 15:05] Valeriy Kravchuk
Thank you for your bug report. I tried to reproduce it on Solaris 2.9 SPARC using latest 5.0.10-beta tar.gz distribution, but was unable:

bash-2.05$ cd mysql-5.0.10.sparc/
bash-2.05$ bin/mysql_install_db --user=vkravchuk
Installing all prepared tables
Fill help tables

To start mysqld at boot time you have to copy support-files/mysql.server
to the right place for your system

... (nothing special ,so skipped)

bash-2.05$ bin/mysqld_safe &
[1] 75308
bash-2.05$ Starting mysqld daemon with databases from /users/vkravchuk/mysql-5.0
.10.sparc/var

bash-2.05$ uname -a
SunOS sunfire280 5.9 Generic_118558-09 sun4u sparc SUNW,Sun-Fire-280R
bash-2.05$ bin/mysql -uroot
Welcome to the MySQL monitor.  Commands end with ; or \g.
Your MySQL connection id is 2 to server version: 5.0.10-beta

Type 'help;' or '\h' for help. Type '\c' to clear the buffer.

mysql> select version();
+-------------+
| version()   |
+-------------+
| 5.0.10-beta |
+-------------+
1 row in set (0.00 sec)

mysql> use mysql
Reading table information for completion of table and column names
You can turn off this feature to get a quicker startup with -A

Database changed
mysql> show tables;
+---------------------------+
| Tables_in_mysql           |
+---------------------------+
| columns_priv              |
| db                        |
| func                      |
| help_category             |
| help_keyword              |
| help_relation             |
| help_topic                |
| host                      |
| proc                      |
| procs_priv                |
| tables_priv               |
| time_zone                 |
| time_zone_leap_second     |
| time_zone_name            |
| time_zone_transition      |
| time_zone_transition_type |
| user                      |
+---------------------------+
17 rows in set (0.01 sec)

I'd recommend you to strictly follow the manual (http://dev.mysql.com/doc/mysql/en/quick-install.html) when istalling from sources and use latest versions available.