3 messages in com.mysql.lists.bugsRe: bug with mysql "option without pr...
FromSent OnAttachments
Jocelyn Fournier04 Jan 2003 07:02 
Jocelyn Fournier04 Jan 2003 07:06 
Jocelyn Fournier04 Jan 2003 09:45 
Subject:Re: bug with mysql "option without preceding group" check in MySQL-4.1
From:Jocelyn Fournier (jo@presence-pc.com)
Date:01/04/2003 07:06:01 AM
List:com.mysql.lists.bugs

Humm, in fact even in removing the comments I encounter an error :(

my.cnf : [client] #password = my_password port = 3306 socket = /var/adm/mysql/mysql.sock <cut>

[root@forum] /usr/local/mysql-4.1> mysql -uroot -p <16:03:38 error: Found option without preceding group in config file: /usr/local/mysql/var/my.cnf at line: 1

Regards, Jocelyn

Hi,

With the latest bk pull, I have the following error when trying to run mysql :

How-to-repeat :

[root@forum] /usr/local/mysql-4.1> mysql -uroot -p <15:55:45 error: Found option without preceding group in config file: /usr/local/mysql/var/my.cnf at line: 10

If I take a look at my my.cnf, I have :

# Example mysql config file. # You can copy this to one of: # /usr/local/etc/my.cnf to set global options, # mysql-data-dir/my.cnf to set server-specific options (in this # installation this directory is /usr/local/var) or # ~/.my.cnf to set user-specific options. # # One can use all long options that the program supports. # Run the program with --help to get a list of available options

# This will be passed to all mysql clients [client] <cut>

So line 10 is only a blank line, but is considered as an option by mysql, which is wrong.

Regards, Jocelyn

To request this thread, e-mail bugs@lists.mysql.com To unsubscribe, e-mail <bugs@lists.mysql.com>