php - Update to php5.3 breaks connecting to mysql db -


I am currently updating PHP to 5.3 and can no longer connect to my remote messaging server. I get the following errors:

  mysqli_connect (): Ok packet 6 bytes less than expected mysqli_connect (): (HY000 / 2000): mysql can not connect with MySQL 4.1 using the old authentication  

It seems like it has to do with the new MySqlnd driver. Is there a way to apply it to the old libmysql driver? Apart from this, by returning to php5.2.11, it does not seem that the problem working for most people has not been corrected.

Well I recorded a long time cold response, but someone better than me already Answered it. TLDR; With this response, your php for your application has been re-compiled.

Ionut G. Warning: mysql_connect () [function.mysql-connect]: OK packet less than 6 bytes. {Filename} Warning on line 18: mysql_connect () [function.mysql -connect]: Using old authentication from mysqlnd, MySQL 4.1+, on line 18 in {filename},

It all says you can not use old authentication with mysqlnd .

Upgrade your server password to a more recent and more secure authentication method or compile PHP with libmysql (MySQL client library) support. check. / Configure --help | Grep-C3 mysql and.


Comments

Popular posts from this blog

asp.net - Javascript/DOM Why is does my form not support submit()? -

sockets - Delphi: TTcpServer, connection reset when reading -

javascript - Classic ASP "ExecuteGlobal" statement acting differently on two servers -