Bug #14154 | can't start mysqld | ||
---|---|---|---|
Submitted: | 19 Oct 2005 21:52 | Modified: | 17 Nov 2005 21:45 |
Reporter: | Pierre-Henry Perret | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 323 | OS: | FreeBSD (FreeBSD 5.2.1-RELEASE) |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[19 Oct 2005 21:52]
Pierre-Henry Perret
[19 Oct 2005 23:05]
MySQL Verification Team
Looks to me you have on your my.cnf a wrong key for: set-variable = key_buffer=16M see below how I repeated the behavior reported: miguel@hegel:~/dbs/3.0> libexec/mysqld --defaults-file=/home/miguel/dbs/3.0/var/my.cnf libexec/mysqld: unrecognized option `--key_buffer=16M' libexec/mysqld Ver 3.23.59-debug for suse-linux on i686 Copyright (C) 2000 MySQL AB, by Monty and others # The MySQL server [mysqld] port = 3306 socket = /tmp/mysql.sock skip-locking #set-variable = key_buffer=16M key_buffer=16M Changing key_buffer=16M by set-variable = key_buffer=16M the start issue is fixed: miguel@hegel:~/dbs/3.0> libexec/mysqld --defaults-file=/home/miguel/dbs/3.0/var/my.cnf 051019 21:00:54 InnoDB: Started libexec/mysqld: ready for connections
[19 Oct 2005 23:46]
Pierre-Henry Perret
Yes it works, but I must comment out the followings in my.cnf file this is the installation my.cnf file ! __________________ skip-locking set-variable = key_buffer = 256M set-variable = max_allowed_packet = 1M set-variable = table_cache = 256 #set-variable = sort_buffer_size = 1M #set-variable = read_buffer_size = 1M set-variable = myisam_sort_buffer_size = 64M #thread_cache = 8 #query_cache_size= 16M # Try number of CPU's*2 for thread_concurrency #thread_concurrency = 8 __________________________________ so why ?
[20 Oct 2005 18:13]
MySQL Verification Team
Which package did you installed. I just downloaded the Linux one and the my.cnf samples not contains those variables.
[20 Oct 2005 19:06]
Pierre-Henry Perret
The freebsd package mysql323-server
[16 Nov 2005 17:41]
MySQL Verification Team
Could you please point me the link where you got that package and the location of the my.cnf file you used into that package. I was unable to find! Thanks
[16 Nov 2005 21:47]
Pierre-Henry Perret
In fact, I just try to install the following port on freeBSD: /usr/ports/databases/mysql40-server The port configuration points to the files on the FreeBSD server so you can find the ports there.
[16 Nov 2005 22:07]
MySQL Verification Team
If I understood well you that my.cnf file isn't from our package and belongs to server 4.0.XX.
[17 Nov 2005 21:45]
Pierre-Henry Perret
Yes, you're right!