Bug #11882 | Codepage error displayed with PHP 4.33 | ||
---|---|---|---|
Submitted: | 12 Jul 2005 12:23 | Modified: | 25 Jul 2005 3:45 |
Reporter: | Zoltan Juhasz | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S1 (Critical) |
Version: | 4.1.x | OS: | Windows (Windows 2003 Server) |
Assigned to: | CPU Architecture: | Any |
[12 Jul 2005 12:23]
Zoltan Juhasz
[12 Jul 2005 12:25]
Zoltan Juhasz
Database connector PHP script
Attachment: connect.php (text/plain), 398 bytes.
[12 Jul 2005 12:25]
Zoltan Juhasz
Example of table creation and insert
Attachment: create_banner_reklam.php (text/html), 1.73 KiB.
[12 Jul 2005 12:57]
MySQL Verification Team
Are you upgraded installing the 4.1.12a over an older installation?
[12 Jul 2005 13:52]
Zoltan Juhasz
No it was a clean install. There was an old mysql on the computer, but I fully uninstalled it (service, mysql directory and all files deleted) before I install the new version. The problem is present on my web server and on my home computer.
[12 Jul 2005 14:08]
Andrey Hristov
Hello, could you please simplify the test script, omit the unnecessary parts, provide a full connecting (you haven't supplied connect.php) and if possible please use the CLI version of PHP which comes with you PHP installation because in this case one layer less is require - the Web Server. The CLI is called php.exe. Thank you in advance!
[12 Jul 2005 14:16]
Zoltan Juhasz
There is the connect.php in "Files" menu, you can download it. I supplied this code above too. Just copy-paste into a file called connect.php
[15 Jul 2005 6:51]
Aleksey Kishkin
Zoltan, what php do you use (i mean what distribution? is it compiled by you etc etc)? Some versions of php contains mysql client library. So I expect it contains mysql 4.0 client libraries with 'compiled in' charset location in c:\mysql\share\charsets. (BTW 4.1 uses index.xml and *.xml files ,not index.conf and *.conf - that's why I also think that php on your computer uses old client library) So when you try to use it with mysql 4.1, php obviously cannot find charsets.
[15 Jul 2005 7:19]
Zoltan Juhasz
I'm using PHP 4.4.0 (Windows Binary Zip Package). I downloaded it from this site. Previously I used the 4.3.3 version, so the newer version of PHP cannot solved the problem. I installed the MySQL Server 4.1.12a version into "C:\MySQL\" folder. I copied old MySQL charsets file into C:\MySQL\share\charsets but this has not solved my problem. I have no idea what can I do more.
[25 Jul 2005 3:45]
Jorge del Conde
I was unable to reproduce this bug under Linux, WinXP & Win2003 using mysql 4.1.13 and php: 4.4.0 and 5.1b3.