List:General Discussion« Previous MessageNext Message »
From:bunti Date:February 6 2009 9:48pm
Subject:MySQL 5.1.31 PostInstall Script Error
View as plain text  
Hi 

I am doing investigation to determine whether we can use MySQL in our project.
But I got error message when I try to install MySQL on Solaris server.

Could anyone please help me?

First I uncompressed with gunzip, then I used pkgadd to install, and I got
the following error message in postinstall scripts but still got installation
successful message.

Server : Solaris 5.8
MySql : 5.1.31
Package used : mysql-5.1.31-solaris8-sparc-64bit.pkg.gz


## Executing postinstall script.
/opt/mysql/mysql/bin/my_print_defaults: syntax error at line 1:
`^?ELF^B^B^A^B+^A^A^AZ\200@' unexpected
/opt/mysql/mysql/bin/mysqld:
@^D}\336^X@8^E@!^F^E@^A@^A^X^A^X^C^D^AX^Y^A^E^Ac]\245c]\245^P^A^Gc]\250^As]\250^^^G\330^^\240\260^P^B^Gc}(^As}(^B:
not found
/opt/mysql/mysql/bin/mysqld:
^?ELF^B^B^A^B+^A^A^[\343/usr/lib/sparcv9/ld.so.1e!e!^A^B^C^F: not found
/opt/mysql/mysql/bin/mysqld: ^L^N^O^P^S^U^W^Z^[^]^^^_!#: not found
/opt/mysql/mysql/bin/mysqld:
*+,.013679;<=>@BCDGIJMNPQRSTUWXY[\]^_`bcfgijlmnorstuwx{}^?\200\202\204\205\207\210\211\214\215\216\221\224\227\231\232\235\237\240\242\243\245\246\247\250\251\253\254\255\257\260\262\263\264\267\270\273\274\276\277\300\302\303\304\305\306\307\310\312\314\315\316\317\320\321\322\325\326\327\331\332\334\335\336\337\340\342\343\345\346\350\353\354\356\360\361\364\366\367\371\375\376\377^A^A^A^B^A^C^A^E^A^F^A^H^A^J^A^K^A^L^A^P^A^S^A^T^A^U^A^W^A^Y^A^[^A^\^A^^^A^_^A
^A!^A#^A&^A^A*^A+^A/^A0^A1^A2^A3^A4^A7^A8^A:^A: not found
/opt/mysql/mysql/bin/mysqld: ^A: not found
/opt/mysql/mysql/bin/mysqld:
^B}^B~^B\202^B\203^B\204^B\205^B\206^B\207^B\210^B\211^B\212^B\215^B\217^B\220^B\221^B\222^B\223^B\225^B\226^B\230^B\233^B\235^B\237^B\241^B\242^B\243^B\245^B\246^B\247^B\250^B\252^B\254^B\255^B\260^B\261^B\262^B\263^B\265^B\270^B\272^B\276^B\277^B\300^B\302^B\304^B\305^B\307^B\312^B\315^B\317^B\320^B\323^B\324^B\326^B\330^B\331^B\333^B\334^B\335^B\337^B\342^B\344^B\345^B\346^B\351^B\352^B\354^B\355^B\357^B\361^B\362^B\364^B\365^B\367^B\371^B\372^B\375^B\376^B\377^C^B^C^C^C^D^C^E^C^F^C^H^C:
not found
/opt/mysql/mysql/bin/mysqld: syntax error at line 8: `)' unexpected

Installation of system tables failed!  Examine the logs in
/var/lib/mysql for more information.

You can try to start the mysqld daemon with:

    shell> /opt/mysql/mysql/bin/mysqld --skip-grant &
Broken Pipe

and use the command line tool /opt/mysql/mysql/bin/mysql
to connect to the mysql database and look at the grant tables:

    shell> /opt/mysql/mysql/bin/mysql -u root mysql
    mysql> show tables

Try 'mysqld --help' if you have problems with paths.  Using --log
gives you a log in /var/lib/mysql 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
/opt/mysql/mysql/bin/mysqld:
^Aa^Ab^Ac^Af^Ag^Ah^Ai^Aj^Ak^Al^Am^An^Aq^Ar^At^Av^Aw^Ay^Az^A{^A: not found
describes problems on your OS.  Another information source are the
MySQL email archives available at http://lists.mysql.com/.

Please check all of the above before mailing us!  And remember, if
you do mail us, you MUST use the /opt/mysql/mysql/scripts/mysqlbug script!

/opt/mysql/mysql/bin/mysqld:
^A}^A\201^A\203^A\204^A\205^A\206^A\207^A\213^A\214^A\217^A\220^A\222^A\223^A\224^A\226^A\227^A\230^A\233^A\234^A\235^A\237^A\241^A\243^A\244^A\245^A\246^A\247^A\250^A\252^A\255^A\256^A\260^A\262^A\263^A\264^A\267^A\270^A\271^A\273^A\275^A\300^A\301^A\302^A\303^A\305^A\306^A\310^A\311^A\312^A\315^A\317^A\320^A\321^A\322^A\324^A\325^A\330^A\333^A\334^A\335^A\337^A\340^A\341^A\342^A\343^A\345^A\347^A\351^A\352^A\353^A\355^A\356^A\361^A\362^A\363^A\366^A\367^A\371^A\372^A\373^A\374^A\375^A\376^A\377^B^B^A^B^C^B^D^B^E^B^F^B^G^B:
not found
/opt/mysql/mysql/bin/mysqld:
^B^K^B^L^B^M^B^O^B^R^B^S^B^T^B^U^B^X^B^[^B^]^B^_^B!^B^B$^B&^B(^B)^B*^B.^B/^B0^B3^B4^B6^B7^B8^B:^B;^B<^B>^B?^B@^BA^BB^BD^BE^BF^BG^BH^BJ^BK^BL^BM^BN^BP^BQ^BS^BT^BV^BY^BZ^B[^B^^B:
not found
/opt/mysql/mysql/bin/mysqld:
^A_^A^Ba^Bb^Bc^Bf^Bg^Bk^Bn^Bp^Bq^Bs^Bt^Bv^Bw^Bx^Bz^B{^B: not found

Installation of <mysql> was successful.
Thread
MySQL 5.1.31 PostInstall Script Errorbunti6 Feb
  • Re: MySQL 5.1.31 PostInstall Script ErrorClaudio Nanni7 Feb