Hi everyone,

I've got following problem - trying to connect to MySQL fails with
following message:

Warning: MySQL Connection Failed: Can't initialize character set 26
(path: default) in c:/foo/foo.php on line 6.

Code for connecting:
$dbhandle = mysql_connect('localhost', 'name,'password');
is correct and works perfectly, when MySQL is set to work with latin1
character set, but when I switch to win1250 - I've got this error. MySQL
is working correctly with both charsets.

How can I solve this problem?

Environment: W2k, PHP 4.04pl1, MySQL 3.23.45

Greetings

Piotr






_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to