|
mysql_install_db安装授权表,报下列错。我把my.cnf中的'max_allowed_packet'增得非常大也不行。我用的是mysql 5.0.1
[root@localhost etc]# mysql_install_db
Installing all prepared tables
041022 10:13:41 Warning: Asked for 196608 thread stack, but got 126976
Fill help tables
041022 10:13:41 Warning: Asked for 196608 thread stack, but got 126976
ERROR: 1153 Got a packet bigger than 'max_allowed_packet' bytes
041022 10:13:41 Aborting
041022 10:13:41 /usr/sbin/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:
/usr/bin/mysqladmin -u root password 'new-password'
/usr/bin/mysqladmin -u root -h localhost.localdomain password 'new-password'
See the manual for more instructions.
NOTE: If you are upgrading from a MySQL <= 3.22.10 you should run
the /usr/bin/mysql_fix_privilege_tables. Otherwise you will not be
able to use the new GRANT command!
You can start the MySQL daemon with:
cd / ; /usr/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 /usr/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 |
|