Problems with PHP4.0.4pl1 and mysql, when mysql uses another charsets(latin2)
| From: | Ireneusz Piasecki | Date: | Thu, 01 Mar 2001 09:06:47 +0000 |
| Subject: | Problems with PHP4.0.4pl1 and mysql, when mysql uses another charsets(latin2) | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-7037@lists.php.net to get a copy of this message | ||
Hi everyone !
I'm from Poland.
I set in mySql server, that it can work with Latin 2 charset
All is fine, but when i try accessing to databases through php 4.0.4pl1 a have error like below
Warning: MySQL Connection Failed: Can't initialize character set 9 (path: default) in
/home/httpd/html/test.php4 on line 3
Warning: MySQL Connection Failed: Can't connect to local MySQL server through socket
'/var/lib/mysql/mysql.sock' (111) in /home/httpd/html/test.php4 on line 4
My system is: Linux RedHat 6.2 apache 1.3.12 PHP 4.0.4pl1 as shared module for apache.
I see that it is php module bug.
I have apache and php 4.0.4pl1 on my win98 machine.
That errors don't occur.
What can i solve this problem ??
Ireneusz Piasecki
webmaster www.b-c.pl
KomNet s.c
irek@b-c.pl
tel: 0 606 356 235
irekpias@poczta.onet.pl