Arkadiusz Miskiewicz wrote: > On Saturday 21 of August 2010, Arkadiusz Rdest wrote: > >> co do czytania haseł w starym formacie to: >> http://dev.mysql.com/doc/refman/5.1/en/server-options.html#option_mysqld_ol >> d-passwords >> >> tylko uwazaj bo PHP 5.3 nie wspiera wogole starego formatu hasel >> i nie bedziesz mogl sie polaczyc do bazy. > > Blisko ale nieprecyzyjnie. To co napisałeś dotyczy PHP 5.3 skompilowanego z > driverem mysqlnd. Thowe 5.3 tego drivera nie używa i takie hasła powinno > obsłużyć.
faktycznie masz racje, ze chodzi o driver mysqlnd http://pl2.php.net/manual/en/migration53.incompatible.php The new mysqlnd library necessitates the use of MySQL 4.1's newer 41-byte password format. Continued use of the old 16-byte passwords will cause mysql_connect() and similar functions to emit the error, "mysqlnd cannot connect to MySQL 4.1+ using old authentication." Ale co do tego ze TH nie uzywa to nie wiem. na serwerze gdzie mam AC: # rpm -qa | grep php-mysql php-mysql-5.3.1-1.10.amd64 i w phpinfo widac moduly: mysql MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version mysqlnd 5.0.5-dev - 081106 - $Revision: 289630 $ mysqlnd mysqlnd enabled Version mysqlnd 5.0.5-dev - 081106 - $Revision: 289630 $ -- Arkadiusz Rdest _______________________________________________ pld-users-pl mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-users-pl
