I am getting
PDO::__construct(): OK packet 6 bytes shorter than expected in latest PHP 5.3.1, any idea or fixes?
I am getting PDO::__construct(): OK packet 6 bytes shorter than expected in latest PHP
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you are using the new mysqlnd driver (which is often the case with PHP 5.3, as it’s one of the new stuff introduced with 5.3), you cannot connect to a MySQL database using the old-passwords system.
See, for instance :
Not sure it’s what is causing the problem in your case, but that’s one common MySQL related thing, with PHP 5.3…