Try to not use "#" if you want the password to be in my.cnf file.
The "#" is for comments if my.cnf file.

----- Original Message -----
From: "Ganbold" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 04, 2003 11:08 AM
Subject: Problem reading my.cnf


> Hi,
>
> I have just upgraded mysql server version from 4.0.13 to 4.0.14,  from
> FreeBSD 5.1 ports collection.
> Before upgrade mysql command line client could read password from
> /etc/my.cnf file and I could use mysql without supplying -p option.
> But after upgrade it could read password only up to # sign. For instance
in
> /etc/my.cnf file:
>
> [client]
> password    = test#istest$
> port            = 3306
> socket        = /tmp/mysql.sock
>
> When I issue command mysql --print-defaults it prints:
>
> mysql would have been started with the following arguments:
> --password=test --port=3306 --socket=/tmp/mysql.sock --no-auto-rehash
>
>
> Is this a bug of mysql command line client or it is something different?
> Is there anybody who solved this already?
>
> thanks in advance,
>
> Ganbold
>
>
>
> --
> MySQL General Mailing List
> For list archives: http://lists.mysql.com/mysql
> To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to