2 messages in com.mysql.lists.bugsSmall bug
FromSent OnAttachments
Peter Zaitsev19 Sep 2000 08:33 
Michael Widenius19 Sep 2000 13:25 
Subject:Small bug
From:Michael Widenius (mon@mysql.com)
Date:09/19/2000 01:25:32 PM
List:com.mysql.lists.bugs

Hi!

root@oden libexec]# ./mysqld --help No variable match for: -O 'connect_timeout =3D 30' ./mysqld Ver 3.23.23-beta for pc-linux-gnu on i686 Use ./mysqld --help for a list of available options

Two bugs in one: First --help option does not seems to work

The problem is that the defaults file options are parsed before --help.

I have now changed the error message to:

Use '--help' or '--no-defaults --help' for a list of available options

Second: the variable connect_timeout is listed in variables but does = not seems to work

It works at least for 3.23.25:

(/my/monty/sql) mysqld-i686 -O connect_timeout=5 -V mysqld-i686 Ver 3.23.25-beta-debug for linux on i586

After some checking I noticed that you are not allowed to have space after the variable name in the my.cnf file.

Change

set-variable = connect_timeout = 30

to

set-variable = connect_timeout=30

Regards, Monty