Microsoft
Software
Hardware
Network
Question : PHP5.3+ & MySQL connector issues
Hi,
This problem is documented fairly well however I can't fix it. I'm using the following setup:
WAMP
PHP5.3+
trying to connect to a remote server using MySQL 5.0.77
My php sites run ok and PHPMyAdmin connects OK if I use PHP 5.2.11, or if I connect to my local MySQL 5.1.36, however when I try to use any PHP version from 5.3 upwards I get the following in PHPMyAdmin:
#2000 - mysqlnd cannot connect to MySQL 4.1+ using old authentication
And this on my website:
Warning: PDO::__construct() [pdo.--construct]: OK packet 6 bytes shorter than expected
The solution I have found is to get onto the server and run the following sql:
SET PASSWORD FOR 'username'@'localhost' = PASSWORD('password');
But it doesn't fix either!
Answer : PHP5.3+ & MySQL connector issues
MySQL has it's own set of drivers and 'connectors' independent of PHP. You would have to update the MySQL installation to a current version. And then you might have to update PHP and phpmyadmin too.
Random Solutions
Is there any way to limit what the users see in shared calendars in Exchange 2003 / Exchange 2007?
The fool says in his heart ...
I am looking forward to learn about JSF with ICEfaces
Internet Explorer Nonfunctional After IE8 Upgrade
Sharing camcorder footage
Accuracy of data
Rehab Dell MD3000i or move to NetApp FAS2020 storage array?
Remove Proxy settings from IE using Group policy
Printer Migration from Windows 2003 to Windows 2008 R2
I want three selects, but only require one select to have input