Tag Archives: mysqlnd

Fixed: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication

Hoy formatee el servidor 2 de Skamasle para instalar centOS en el.

Uno de los “problemas” con los que me encontré es que el nuevo panel no permite habilitar las conexiones remotas.

Otro de ellos era el siguiente error en algunos usuarios:

Warning: mysql_connect() [function.mysql-connect]: Premature end of data (mysqlnd_wireprotocol.c:554) in [Removed] on line 2

Warning: mysql_connect() [function.mysql-connect]: OK packet 1 bytes shorter than expected in [Removed]p on line 2

Warning: mysql_connect() [function.mysql-connect]: mysqlnd cannot connect to MySQL 4.1+ using the old insecure authentication. Please use an administration tool to reset your password with the command SET PASSWORD = PASSWORD('your_existing_password'). This will store a new, and more secure, hash value in mysql.user. If this user is used in other scripts executed by PHP 5.2 or earlier you might need to remove the old-passwords flag from your my.cnf file in [Removed] on line 2


Así nos han encontrado!

  • mysqlnd cannot connect to mysql 4 1 using the old insecure authentication
  • mysqlnd cannot connect to mysql 4 1 using the old insecure authentication please use an administration tool to reset your password with the command set password = password(\your_existing_password\) this will store a new and more secure hash value in mysql
  • mysqlnd cannot connect to mysql 4 1 using the old insecure authentication please use an administration tool to reset your password with the command set password = password(your_existing_password) this will store a new and more secure hash value in mysql u
  • Authentication with old password no longer supported use 4 1 style passwords
  • warning: mysql_connect(): mysqlnd cannot connect to mysql 4 1 using the old insecure authentication