Bug #60529 Declaring -DDEFAULT_COLLATION and -DDEFAULT_CHARSET not affect
Submitted: 18 Mar 2011 12:22 Modified: 18 Mar 2011 13:03
Reporter: Georgy Vassilev Email Updates:
Status: Duplicate Impact on me:
None 
Category:MySQL Server: Compiling Severity:S3 (Non-critical)
Version:5.5.8+ OS:Linux (Gentoo)
Assigned to: CPU Architecture:Any
Tags: charset, collation, DEFAULT_CHARSET, DEFAULT_COLLATION

[18 Mar 2011 12:22] Georgy Vassilev
Description:
observing the directions for compiling mysql perform the I use following cmake command:

cmake . -DWITH_DEBUG=OFF -DWITH_EXTRA_CHARSETS=all -DMYSQL_UNIX_ADDR = /tmp/mysql.sock -DCMAKE_INSTALL_PREFIX=/usr/local/mysql -DDEFAULT_CHARSET=cp1251 -DDEFAULT_COLLATION=cp1251_general_ci

and compile mysql, but when I start the server, the command "status" returns the following:

Server characterset: latin1
Db characterset: latin1
Client characterset: latin1
Conn. characterset: latin1

I tried with versions 5.5.8, 5.5.9 and 5.5.10 but in all I have same problem.

How to repeat:
I don't know how.
[18 Mar 2011 12:30] Valeriy Kravchuk
This is a duplicate of Bug #58991. Should be fixed in 5.5.10.
[18 Mar 2011 13:03] Georgy Vassilev
Today I tested with 5.5.10 and it is not fixed.