bug with mysql "option without preceding group" check in MySQL-4.1

bug with mysql "option without preceding group" check in MySQL-4.1

am 04.01.2003 16:02:45 von Jocelyn Fournier

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]


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

Regards,
Jocelyn


------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

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

Re: bug with mysql "option without preceding group" check in MySQL-4.1

am 04.01.2003 16:06:23 von Jocelyn Fournier

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


[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

----- Original Message -----
From: "Jocelyn Fournier"
To:
Sent: Saturday, January 04, 2003 3:02 PM
Subject: bug with mysql "option without preceding group" check in MySQL-4.1


> 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]
>
>
> So line 10 is only a blank line, but is considered as an option by mysql,
> which is wrong.
>
> Regards,
> Jocelyn
>
>
> ------------------------------------------------------------ ---------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail bugs-thread13400@lists.mysql.com
> To unsubscribe, e-mail
>
>


------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

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

Re: bug with mysql "option without preceding group" check in MySQL-4.1

am 04.01.2003 18:45:31 von Jocelyn Fournier

Hi,

Sorry I've no problem anymore after a clean build...

Regards,
Jocelyn
----- Original Message -----
From: "Jocelyn Fournier"
To:
Sent: Saturday, January 04, 2003 3:06 PM
Subject: Re: bug with mysql "option without preceding group" check in
MySQL-4.1


> 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
>
>
> [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
>
> ----- Original Message -----
> From: "Jocelyn Fournier"
> To:
> Sent: Saturday, January 04, 2003 3:02 PM
> Subject: bug with mysql "option without preceding group" check in
MySQL-4.1
>
>
> > 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]
> >
> >
> > So line 10 is only a blank line, but is considered as an option by
mysql,
> > which is wrong.
> >
> > Regards,
> > Jocelyn
> >
> >
> > ------------------------------------------------------------ ---------
> > Before posting, please check:
> > http://www.mysql.com/manual.php (the manual)
> > http://lists.mysql.com/ (the list archive)
> >
> > To request this thread, e-mail bugs-thread13400@lists.mysql.com
> > To unsubscribe, e-mail
> >
> >
>
>
> ------------------------------------------------------------ ---------
> Before posting, please check:
> http://www.mysql.com/manual.php (the manual)
> http://lists.mysql.com/ (the list archive)
>
> To request this thread, e-mail bugs-thread13401@lists.mysql.com
> To unsubscribe, e-mail
>
>
>


------------------------------------------------------------ ---------
Before posting, please check:
http://www.mysql.com/manual.php (the manual)
http://lists.mysql.com/ (the list archive)

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