I am new to PHP and MySQL and I got a problem on charset of MySQL for weeks.

I set up PHP 4.3.10 and MySQL 4.1.10 on my Windows 2003 server and there is no problem to run some basic php programming.

Now I seem to get a problem on the charset when I try to connect to MySQL. I got the error message of

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

if I have the code of

$link = mysql_connect("localhost", "root", "mypassword");

in my php Web page file.

What could be the fix for this problem ?

Thank you.