Hello.
It looks to me like you have downloaded a wrong binary... peter sumser wrote: > > >>Description: > > Starting scripts/mysql_install_db --user=mysql (alternatively with > --force), I get the following msg: > " > scripts/mysql_install_db: line 1: ./bin/my_print_defaults: cannot > execute binary file > Neither host '127.0.0.1' nor 'localhost' could be looked up with > ../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 > the --force option > " > > Following the mysql manual 2.12.1.2 and excluding the > "...resolveip..."-part doesnt work either, it happens: > " > scripts/mysql_install_db --user=mysql > scripts/mysql_install_db: line 1: ./bin/my_print_defaults: cannot > execute binary file > Installing all prepared tables > scripts/mysql_install_db: line 1: ./bin/mysqld: cannot execute binary > file > Installation of system tables failed! > > Examine the logs in ./data for more information. > You can also try to start the mysqld daemon with: > ../bin/mysqld --skip-grant & > You can use the command line tool > ../bin/mysql to connect to the mysql > database and look at the grant tables: > > shell> ./bin/mysql -u root mysql > mysql> show tables > > Try 'mysqld --help' if you have problems with paths. Using --log > gives you a log in ./data that may be helpful. > > The latest information about MySQL is available on the web at > http://www.mysql.com > Please consult the MySQL manual section: 'Problems running > mysql_install_db', > and the manual section that describes problems on your OS. > Another information source is the MySQL email archive. > Please check all of the above before mailing us! > And if you do mail us, you MUST use the ./bin/mysqlbug script! > " > > so i'm mailing you. > >>How-To-Repeat: > > bin/mysql_install_db --user=mysql > >>Fix: > > <how to correct or work around the problem, if known (multiple > lines)> > >>Submitter-Id: peter sumser >>Originator: root >>Organization: > > <organization of PR author (multiple lines)> > >>MySQL support: [none | licence | email support | extended email >>support ] >>Synopsis: <synopsis of the problem (one line)> >>Severity: <[ non-critical | serious | critical ] (one line)> >>Priority: <[ low | medium | high ] (one line)> >>Category: mysql >>Class: <[ sw-bug | doc-bug | change-request | support ] (one >>line)> >>Release: mysql-4.1.12-standard (MySQL Community Edition - Standard >>(GPL)) > > >>C compiler: gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-39) >>C++ compiler: gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-39) >>Environment: > > <machine, os, target, libraries (multiple lines)> > System: Linux 127.0.0.1 2.4.20-4GB-athlon #1 Mon Apr 26 16:40:46 UTC > 2004 i686 unknown unknown GNU/Linux > Architecture: i686 > > Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc > /usr/bin/cc > GCC: Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs > Configured with: ../configure --enable-threads=posix --prefix=/usr > --with-local-prefix=/usr/local --infodir=/usr/share/info > --mandir=/usr/share/man --libdir=/usr/lib > --enable-languages=c,c++,f77,objc,java,ada --disable-checking > --enable-libgcj --with-gxx-include-dir=/usr/include/g++ > --with-slibdir=/lib --with-system-zlib --enable-shared > --enable-__cxa_atexit i486-suse-linux > Thread model: posix > gcc version 3.3 20030226 (prerelease) (SuSE Linux) > Compilation info: CC='ccache gcc' CFLAGS='' CXX='ccache gcc' > CXXFLAGS='' LDFLAGS='' ASFLAGS='' > LIBC: > -rwxr-xr-x 1 root root 1491599 Mar 14 2003 /lib/libc.so.6 > -rw-r--r-- 1 root root 43012516 Mar 14 2003 > /usr/lib/libc.a > -rw-r--r-- 1 root root 204 Mar 14 2003 > /usr/lib/libc.so > Configure command: ./configure '--prefix=/usr/local/mysql' > '--localstatedir=/usr/local/mysql/data' > '--libexecdir=/usr/local/mysql/bin' '--with-comment=MySQL Community > Edition - Standard (GPL)' '--with-extra-charsets=complex' > '--with-server-suffix=-standard' '--enable-thread-safe-client' > '--enable-local-infile' '--with-pic' '--disable-shared' > '--with-readline' '--with-embedded-server' > '--with-archive-storage-engine' '--with-innodb' 'CC=ccache gcc' > 'CXX=ccache gcc' > > > > ------------------------------------------------------------------------ > > SEND-PR: -*- send-pr -*- > SEND-PR: Lines starting with `SEND-PR' will be removed automatically, > as > SEND-PR: will all comments (text enclosed in `<' and `>'). > SEND-PR: > From: root > To: mysql@lists.mysql.com > Subject: [50 character or so descriptive subject here (for reference)] > > >>Description: > > <precise description of the problem (multiple lines)> > >>How-To-Repeat: > > <code/input/activities to reproduce the problem (multiple lines)> > >>Fix: > > <how to correct or work around the problem, if known (multiple > lines)> > >>Submitter-Id: <submitter ID> >>Originator: root >>Organization: > > <organization of PR author (multiple lines)> > >>MySQL support: [none | licence | email support | extended email >>support ] >>Synopsis: <synopsis of the problem (one line)> >>Severity: <[ non-critical | serious | critical ] (one line)> >>Priority: <[ low | medium | high ] (one line)> >>Category: mysql >>Class: <[ sw-bug | doc-bug | change-request | support ] (one >>line)> >>Release: mysql-4.1.12-standard (MySQL Community Edition - Standard >>(GPL)) > > >>C compiler: gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-39) >>C++ compiler: gcc (GCC) 3.2.3 20030502 (Red Hat Linux 3.2.3-39) >>Environment: > > <machine, os, target, libraries (multiple lines)> > System: Linux 127.0.0.1 2.4.20-4GB-athlon #1 Mon Apr 26 16:40:46 UTC > 2004 i686 unknown unknown GNU/Linux > Architecture: i686 > > Some paths: /usr/bin/perl /usr/bin/make /usr/bin/gmake /usr/bin/gcc > /usr/bin/cc > GCC: Reading specs from /usr/lib/gcc-lib/i486-suse-linux/3.3/specs > Configured with: ../configure --enable-threads=posix --prefix=/usr > --with-local-prefix=/usr/local --infodir=/usr/share/info > --mandir=/usr/share/man --libdir=/usr/lib > --enable-languages=c,c++,f77,objc,java,ada --disable-checking > --enable-libgcj --with-gxx-include-dir=/usr/include/g++ > --with-slibdir=/lib --with-system-zlib --enable-shared > --enable-__cxa_atexit i486-suse-linux > Thread model: posix > gcc version 3.3 20030226 (prerelease) (SuSE Linux) > Compilation info: CC='ccache gcc' CFLAGS='' CXX='ccache gcc' > CXXFLAGS='' LDFLAGS='' ASFLAGS='' > LIBC: > -rwxr-xr-x 1 root root 1491599 Mar 14 2003 /lib/libc.so.6 > -rw-r--r-- 1 root root 43012516 Mar 14 2003 > /usr/lib/libc.a > -rw-r--r-- 1 root root 204 Mar 14 2003 > /usr/lib/libc.so > Configure command: ./configure '--prefix=/usr/local/mysql' > '--localstatedir=/usr/local/mysql/data' > '--libexecdir=/usr/local/mysql/bin' '--with-comment=MySQL Community > Edition - Standard (GPL)' '--with-extra-charsets=complex' > '--with-server-suffix=-standard' '--enable-thread-safe-client' > '--enable-local-infile' '--with-pic' '--disable-shared' > '--with-readline' '--with-embedded-server' > '--with-archive-storage-engine' '--with-innodb' 'CC=ccache gcc' > 'CXX=ccache gcc' > > > > > ------------------------------------------------------------------------ > > -- For technical support contracts, goto https://order.mysql.com/?ref=ensita This email is sponsored by Ensita.NET http://www.ensita.net/ __ ___ ___ ____ __ / |/ /_ __/ __/ __ \/ / Gleb Paharenko / /|_/ / // /\ \/ /_/ / /__ [EMAIL PROTECTED] /_/ /_/\_, /___/\___\_\___/ MySQL AB / Ensita.NET <___/ www.mysql.com -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED]