List:General Discussion« Previous MessageNext Message »
From:Michael Widenius Date:June 28 1999 11:26pm
Subject:Re: mysql_install_db hangs on sparc-linux RH 6.0
View as plain text  
>>>>> "Marco" == Marco  <development@stripped> writes:

Marco> On mar, 22 giu 1999, you wrote:
Marco> Hi Harald,

Marco> Thanks for the suggestion, i've recompiled mysql with minimum processes, but at
Marco> the end, the command ./scripts/mysql_install_db returns the error message:

Marco> [root@ns3 /root]#
> /usr/src/redhat/SOURCES/mysql-3.22.23b/scripts/mysql_install_db
Marco> Creating db table
Marco> Creating host table
Marco> Creating user table
Marco> Creating func table
Marco> Creating tables_priv table
Marco> Creating columns_priv table
Marco> ERROR: 1033  Incorrect information in file: './mysql/db.frm'
Marco> ERROR: 1033  Incorrect information in file: './mysql/db.frm'
Marco> ERROR: 1033  Incorrect information in file: './mysql/db.frm'
Marco> ERROR: 1033  Incorrect information in file: './mysql/host.frm'
Marco> ERROR: 1033  Incorrect information in file: './mysql/user.frm'
Marco> ERROR: 1033  Incorrect information in file: './mysql/user.frm'
Marco> ERROR: 1033  Incorrect information in file: './mysql/user.frm'
Marco> ERROR: 1033  Incorrect information in file: './mysql/user.frm'
Marco> ERROR: 1033  Incorrect information in file: './mysql/user.frm'
Marco> ERROR: 1033  Incorrect information in file: './mysql/user.frm'
Marco> ERROR: 1033  Incorrect information in file: './mysql/user.frm'
Marco> ERROR: 1033  Incorrect information in file: './mysql/func.frm'
Marco> ERROR: 1033  Incorrect information in file: './mysql/tables_priv.frm'
Marco> ERROR: 1033  Incorrect information in file: './mysql/columns_priv.frm'

Marco> Any other suggestion?

Hi!

Yes;

Remove the lines concerning 'Big file support' from configure:

# Big file support ? (Solaris 2.6 style)
# This may have to be commented on Relient (Siemens) unix
echo $ac_n "checking "for Sun style big file support"""... $ac_c" 1>&6
echo "configure:4534: checking "for Sun style big file support"" >&5
LFS_CFLAGS=`getconf LFS_CFLAGS 2>/dev/null`
if test $? = 0 -a "$SYSTEM_TYPE" != "sni-sysv4"
then
  CFLAGS="$CFLAGS $LFS_CFLAGS"
  CXXFLAGS="$CXXFLAGS $LFS_CFLAGS"
  #
  LFS_LDFLAGS=`getconf LFS_LDFLAGS`
  LDFLAGS="$LDFLAGS $LFS_LDFLAGS"
  #
  LFS_LIBS=`getconf LFS_LIBS`
  LIBS="$LIBS $LFS_LIBS"
  echo "$ac_t"""Found. Using C $LFS_CFLAGS LD $LFS_LDFLAGS LIB $LFS_LIBS"" 1>&6
else
  echo "$ac_t"""No"" 1>&6
fi

remove config.cache and run configure + make again!

Regards,
Monty
Thread
Re: mysql_install_db hangs on sparc-linux RH 6.0Marco22 Jun
  • Re: mysql_install_db hangs on sparc-linux RH 6.0Michael Widenius29 Jun