List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:April 22 1999 8:26am
Subject:mysql_install_db fails
View as plain text  
>>>>> "bjepson" == bjepson  <bjepson@stripped>
> writes:

>> Description:
bjepson> 	mysql_install_db fails
>> How-To-Repeat:
bjepson> 	Compile mysql as directed on a SPARC machine running the
bjepson> 	Debian 2.1 Linux distribution (note that this is not the 64-bit
bjepson> 	ultrasparc). After you do 'make install', run scripts/mysql_install_db
bjepson> 	as directed. The following errors appear:

bjepson> Creating db table
bjepson> Creating host table
bjepson> Creating user table
bjepson> Creating func table
bjepson> Creating tables_priv table
bjepson> Creating columns_priv table
bjepson> ERROR: 1033  Incorrect information in file: './mysql/db.frm'
bjepson> ERROR: 1033  Incorrect information in file: './mysql/db.frm'
bjepson> ERROR: 1033  Incorrect information in file: './mysql/db.frm'
bjepson> ERROR: 1033  Incorrect information in file: './mysql/host.frm'
bjepson> ERROR: 1033  Incorrect information in file: './mysql/user.frm'ERROR: 1033 
> Incorrect information in file: './mysql/user.frm'
bjepson> ERROR: 1033  Incorrect information in file: './mysql/user.frm'
bjepson> ERROR: 1033  Incorrect information in file: './mysql/user.frm'
bjepson> ERROR: 1033  Incorrect information in file: './mysql/user.frm'
bjepson> ERROR: 1033  Incorrect information in file: './mysql/user.frm'
bjepson> ERROR: 1033  Incorrect information in file: './mysql/user.frm'
bjepson> ERROR: 1033  Incorrect information in file: './mysql/func.frm'
bjepson> ERROR: 1033  Incorrect information in file: './mysql/tables_priv.frm'
bjepson> ERROR: 1033  Incorrect information in file: './mysql/columns_priv.frm'

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

Hi!

The above means probably that you have a compiler problem.
Any chance you can download egcs 1.1.2 and try this?

If not, you can try to compile MySQL with:

CFLAGS=-O1 CXXFLAGS=-O1 ./configure --with-debug

If you want to debug this;  Put a breakpoint at 'openfrm' and do
'next' until you find the error.

Regards,
Monty
Thread
mysql_install_db failsbjepson22 Apr
  • mysql_install_db failsMichael Widenius22 Apr