MySQL connection problem

From: Date: Wed, 09 Jan 2002 01:07:43 +0000
Subject: MySQL connection problem
Groups: php.windows 
Request: Send a blank email to php-windows+get-11358@lists.php.net to get a copy of this message
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

« previous php.windows (#11358) next »