andrey Wed, 24 Feb 2010 18:00:01 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=295475
Log:
add better description to the problem
Changed paths:
U php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd.c
U php/php-src/trunk/ext/mysqlnd/mysqlnd.c
Modified: php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd.c
===================================================================
--- php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd.c 2010-02-24 15:22:23 UTC
(rev 295474)
+++ php/php-src/branches/PHP_5_3/ext/mysqlnd/mysqlnd.c 2010-02-24 18:00:01 UTC
(rev 295475)
@@ -57,7 +57,11 @@
-PHPAPI const char * const mysqlnd_old_passwd = "mysqlnd cannot connect to
MySQL 4.1+ using old authentication";
+PHPAPI const char * const mysqlnd_old_passwd = "mysqlnd cannot connect to
MySQL 4.1+ using the old insecure authentication. Your password has length of
16. "
+"Please execute the SET PASSWORD command (`SET PASSWORD =
PASSWORD('your_existing_password')`) with the "
+"help of a administration tool to set your password again. This will store a
new, and more secure, hash value with the length of 41, in mysql.user. If you
are using PHP 5.2 or earlier to "
+"connect to this database you might need to remove the old-passwords flag from
your my.cnf";
+
PHPAPI const char * const mysqlnd_server_gone = "MySQL server has gone away";
PHPAPI const char * const mysqlnd_out_of_sync = "Commands out of sync; you
can't run this command now";
Modified: php/php-src/trunk/ext/mysqlnd/mysqlnd.c
===================================================================
--- php/php-src/trunk/ext/mysqlnd/mysqlnd.c 2010-02-24 15:22:23 UTC (rev
295474)
+++ php/php-src/trunk/ext/mysqlnd/mysqlnd.c 2010-02-24 18:00:01 UTC (rev
295475)
@@ -57,7 +57,11 @@
-PHPAPI const char * const mysqlnd_old_passwd = "mysqlnd cannot connect to
MySQL 4.1+ using old authentication";
+PHPAPI const char * const mysqlnd_old_passwd = "mysqlnd cannot connect to
MySQL 4.1+ using the old insecure authentication. Your password has length of
16. "
+"Please execute the SET PASSWORD command (`SET PASSWORD =
PASSWORD('your_existing_password')`) with the "
+"help of a administration tool to set your password again. This will store a
new, and more secure, hash value with the length of 41, in mysql.user. If you
are using PHP 5.2 or earlier to "
+"connect to this database you might need to remove the old-passwords flag from
your my.cnf";
+
PHPAPI const char * const mysqlnd_server_gone = "MySQL server has gone away";
PHPAPI const char * const mysqlnd_out_of_sync = "Commands out of sync; you
can't run this command now";
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php