LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 862|回复: 0

suse sles9里编译安装mysql出错,求高手赐教此错误原因

[复制链接]
发表于 2004-12-8 20:16:32 | 显示全部楼层 |阅读模式
在编译 mysql时照以下基本操作出错
The basic commands you must execute to install and use a MySQL binary
distribution are:

     shell> groupadd mysql
     shell> useradd -g mysql mysql
     shell> cd /usr/local
     shell> gunzip < /PATH/TO/MYSQL-VERSION-OS.tar.gz | tar xvf -
     shell> ln -s FULL-PATH-TO-MYSQL-VERSION-OS mysql
     shell> cd mysql
     shell> scripts/mysql_install_db --user=mysql
     shell> chown -R root  .
     shell> chown -R mysql data
     shell> chgrp -R mysql .
     shell> bin/mysqld_safe --user=mysql &

上边是install-binary的内容,在执行到shell> scripts/mysql_install_db --user=mysql时出了如下错误

linux:/usr/local/mysql # scripts/mysql_install_db --user=root
Installing all prepared tables
041209  4:09:02 [Warning] Asked for 196608 thread stack, but got 126976
Fill help tables
041209  4:09:02 [Warning] Asked for 196608 thread stack, but got 126976
ERROR: 1153  Got a packet bigger than 'max_allowed_packet' bytes
041209  4:09:02 [ERROR] Aborting

041209  4:09:02 [Note] ./bin/mysqld: Shutdown complete


WARNING: HELP FILES ARE NOT COMPLETELY INSTALLED!
The "HELP" command might not work properly


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

PLEASE REMEMBER TO SET A PASSWORD FOR THE MySQL root USER !
To do so, start the server, then issue the following commands:
./bin/mysqladmin -u root password 'new-password'
./bin/mysqladmin -u root -h linux password 'new-password'
See the manual for more instructions.

You can start the MySQL daemon with:
cd . ; ./bin/mysqld_safe &

You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:
cd sql-bench ; perl run-all-tests

Please report any problems with the ./bin/mysqlbug script!

The latest information about MySQL is available on the web at
http://www.mysql.com
Support MySQL by buying support/licenses at https://order.mysql.com
linux:/usr/local/mysql #
您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表