Bug #45859 [Com]: Missing libmysql.dll
| From: | xandend at yahoo dot com | Date: | Mon, 12 Jul 2010 14:39:08 +0000 |
| Subject: | Bug #45859 [Com]: Missing libmysql.dll | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-152308@lists.php.net to get a copy of this message | ||
Edit report at http://bugs.php.net/bug.php?id=45859&edit=1
ID: 45859
Comment by: xandend at yahoo dot com
Reported by: dagdamor at simps dot ru
Summary: Missing libmysql.dll
Status: Bogus
Type: Bug
Package: MySQL related
Operating System: Windows
PHP Version: 5.3.0alpha1
Assigned To: mysql
New Comment:
this link states it all concisely:
http://www.artfulsoftware.com/php_mysql_win.html
It seems to be the best and only coherent answer to the problem.
Had the same problem with PHP 5.3.2
After wasting Days, ended up going with 5.2.13
Now have everything working!
Previous Comments:
------------------------------------------------------------------------
[2009-07-06 08:01:16] pajoye@php.net
About the last comment, it is unrelated to this bug. Also I cannot find
"libmysql" references in INSTALL (install.txt), in 5.3+.
------------------------------------------------------------------------
[2009-07-06 05:44:05] clockwerx@php.net
Specifically, it still says:
PHP 5+
(snip) Also, PHP needs access to the MySQL client library. A file named
libmysql.dll is included in the Windows PHP distribution and in order
for PHP to talk to MySQL this file needs to be available to the Windows
systems PATH. (/snip).
The windows builds install.txt also document this, but are out dated
------------------------------------------------------------------------
[2009-07-06 05:42:43] clockwerx@php.net
This is currently not documented in
http://www.php.net/manual/en/mysql.installation.php
------------------------------------------------------------------------
[2008-08-19 09:03:00] johannes@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to
report
a bug at http://bugs.php.net/how-to-report.php
libmysql.dll isn't needed anymore with 5.3 as mysqlnd was introduced as
client library.
"mysqlnd cannot connect to MySQL 4.1+ using old authentication" tells
you what the error is, please don't use the --old-passwords MySQL
option!
------------------------------------------------------------------------
[2008-08-19 08:14:14] dagdamor at simps dot ru
Description:
------------
There is no libmysql.dll in the php-5.3.0alpha2-dev-win32.zip archive.
I tried to use one from php-5.2.6-win32.zip (the last stable release),
but apparently it doesn't work.
P.S. If there is a more suitable place where I can post feedback about
testing PHP 5.3 on Windows, please tell :)
Reproduce code:
---------------
<?php
mysql_connect("localhost","root","12345") or die(mysql_error());
?>
Expected result:
----------------
No errors
Actual result:
--------------
Warning: mysql_connect() [function.mysql-connect]: OK packet 6 bytes
shorter than expected. PID=-387523 in W:\www\test53.php on line 3
Warning: mysql_connect() [function.mysql-connect]: mysqlnd cannot
connect to MySQL 4.1+ using old authentication in W:\www\test53.php on
line 3
Warning: mysql_connect() [function.mysql-connect]: in W:\www\test53.php
on line 3
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/bug.php?id=45859&edit=1