Bug #15723 File 'c:\mysql\share\charsets\?.conf' not found (Errcode: 2)
Submitted: 13 Dec 2005 23:17 Modified: 14 Dec 2005 10:57
Reporter: bostjan laba Email Updates:
Status: Not a Bug Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:4.1.17 OS:Windows (Windows 2000 SP4)
Assigned to: CPU Architecture:Any

[13 Dec 2005 23:17] bostjan laba
Description:
The below error log is wide known on internet however there's still no solution or I haven't found one in 2 days of search. I have a default charset set to utf-8.
Using PHP 4.4.1, Mysql 4.1.17 and Apache 2.0.53. Site works but keeps reporting this error. If I turn on full error reporting I get a few gig size error log in a day.
PHP people say it's MySql problem, some say it's vice versa. 

Please tell me - what is going on with this?

Thank you very much

Error log:
*********
File 'c:\mysql\share\charsets\?.conf' not found (Errcode: 2)
Character set '#33' is not a compiled character set and is not specified in the 'c:\mysql\share\charsets\Index' file

How to repeat:
Run all the above (apache, php, mysql) and just refresh the web page.
[14 Dec 2005 10:11] Aleksey Kishkin
bostjan, it usualy means that php uses old client libraries. New client libraries that shipped with mysql 4.1 finds 'Index.xml' file. Old client libraries (say) from mysql 4.0 and below, use 'Index' file. I see that despite the fact you use mysql 4.1 , your php is looking for 'Index' file. it makes me believe you php was linked with old client libraries.

Can you elaborate, how did you install php?
[14 Dec 2005 10:16] bostjan laba
Sure. I did a few PHP updates running windows installer. However, yesterday I was checking some php DLL dates and they all seemed rather old. So I downloaded 4.4.1 full package (zip) and overwrote whole php folder + subfolders. Now DLL dates show latest date. Since this action I get errorcode 2 instead of errorcode 22 that was in error log all the time before.
[14 Dec 2005 10:57] Aleksey Kishkin
We're sorry, but the bug system is not the appropriate forum for 
asking help on using MySQL products. Your problem is not the result 
of a bug.

Support on using our products is available both free in our forums
at http://forums.mysql.com and for a reasonable fee direct from our
skilled support engineers at http://www.mysql.com/support/

Thank you for your interest in MySQL.

Additional info:

sorry I am not sure if replacing  .dll could help. You should recompile php. Or put 'share' directory from old mysql server into the place where php expects to find it