Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 127808 - mysql client look for my.cnf in /etc instead of /etc/mysql
Summary: mysql client look for my.cnf in /etc instead of /etc/mysql
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Gentoo Linux MySQL bugs team
URL:
Whiteboard:
Keywords:
: 127807 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-03-27 19:19 UTC by Steve Kwok
Modified: 2006-04-16 13:24 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Steve Kwok 2006-03-27 19:19:24 UTC
After update mysql to 5.0.18 (I tried 5.0.19 as well) mysqlclient no longer look for my.cnf in /etc/mysql. All connection charset fall back to latin1(I specify all connect to utf8). After cp my.cnf from /etc/mysql to /etc and then it works again.

when I run mysql --help it shows
--------------------------------------------------
Default options are read from the following files in the given order:
/etc/my.cnf ~/.my.cnf
--------------------------------------------------

Previously it is 
--------------------------------------------------
Default options are read from the following files in the given order:
/etc/my.cnf /var/lib/mysql/my.cnf ~/.my.cnf
--------------------------------------------------

The strange thing is that there is no my.cnf in all three directory neither. However it works.
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-03-28 00:45:16 UTC
*** Bug 127807 has been marked as a duplicate of this bug. ***
Comment 2 Luca Longinotti (RETIRED) gentoo-dev 2006-04-16 13:24:08 UTC
This is fixed now with 5.0.19-r1.
Best regards, CHTEKK.